diff options
Diffstat (limited to 'src/tools/wasm-ctor-eval.cpp')
-rw-r--r-- | src/tools/wasm-ctor-eval.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-ctor-eval.cpp b/src/tools/wasm-ctor-eval.cpp index 13e2d5767..00bceac8f 100644 --- a/src/tools/wasm-ctor-eval.cpp +++ b/src/tools/wasm-ctor-eval.cpp @@ -613,7 +613,7 @@ public: init = builder.makeStructNew(heapType, args); } else if (heapType.isArray()) { // TODO: for repeated identical values, can use ArrayNew - init = builder.makeArrayInit(heapType, args); + init = builder.makeArrayNewFixed(heapType, args); } else { WASM_UNREACHABLE("bad gc type"); } |