Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Westsi committed Jul 2, 2024
1 parent 3e450ff commit 2606cf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codegen/x86_64_as/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func (g *X64Generator) GenerateExpression(node ast.Expression) StorageLoc {
g.GenerateWhileLoop(node)
case *ast.CallExpression:
g.GenerateCall(node)
return RAX
}
return NULLSTORAGE
}
Expand Down

0 comments on commit 2606cf9

Please sign in to comment.