Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
DQNEO committed Aug 21, 2023
1 parent 640a815 commit 531bf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sema/sema.go
Original file line number Diff line number Diff line change
Expand Up @@ -2256,7 +2256,7 @@ func Walk(pkg *ir.PkgContainer) *ir.AnalyzedPackage {
PkgName: CurrentPkg.Name,
Name: funcDecl.Name.Name,
Decl: funcDecl,
FuncType: E2T(funcDecl.Type).(*types.Func),
FuncType: CompileFuncType(funcDecl.Type),
Localarea: 0,
Argsarea: 16, // return address + previous rbp
}
Expand Down

0 comments on commit 531bf8a

Please sign in to comment.