From 78feccd61dc87a91f8acc0aa17fca8b98d151ed6 Mon Sep 17 00:00:00 2001 From: Jade Abraham Date: Mon, 16 Dec 2024 11:04:11 -0800 Subject: [PATCH] fix typo Signed-off-by: Jade Abraham --- compiler/passes/parallel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/passes/parallel.cpp b/compiler/passes/parallel.cpp index 7f32482485e7..d9f191c058d3 100644 --- a/compiler/passes/parallel.cpp +++ b/compiler/passes/parallel.cpp @@ -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(