diff --git a/compiler/src/middle_end/anf_helper.re b/compiler/src/middle_end/anf_helper.re index c34cbe0143..b178365591 100644 --- a/compiler/src/middle_end/anf_helper.re +++ b/compiler/src/middle_end/anf_helper.re @@ -47,7 +47,7 @@ module Comp = { mk( ~loc?, ~attributes?, - ~allocation_type=StackAllocated(WasmI32), + ~allocation_type=HeapAllocated, ~env?, CNumber(i), );