Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <[email protected]>
  • Loading branch information
jabraham17 committed Dec 16, 2024
1 parent 60ed440 commit 78feccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/passes/parallel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ makeHeapAllocations() {
call->getStmtExpr()->insertBefore(new DefExpr(tmp));
call->getStmtExpr()->insertBefore(new CallExpr(PRIM_MOVE, tmp, new CallExpr(PRIM_GET_MEMBER_VALUE, use->symbol(), heapType->getField(1))));
use->replace(new SymExpr(tmp));
if (call-isPrimitive(PRIM_ZERO_VARIABLE)) {
if (call->isPrimitive(PRIM_ZERO_VARIABLE)) {
// aftering zeroing the value, we need to set it back
// otherwise its a dead store
call->getStmtExpr()->insertAfter(
Expand Down

0 comments on commit 78feccd

Please sign in to comment.