summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index f0d7feae3..e0c00428f 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -556,7 +556,7 @@ public:
return ret;
}
RefEq* makeRefEq(Expression* left, Expression* right) {
- auto* ret = allocator.alloc<RefEq>();
+ auto* ret = wasm.allocator.alloc<RefEq>();
ret->left = left;
ret->right = right;
ret->finalize();