diff options
Diffstat (limited to 'src/abi/stack.h')
-rw-r--r-- | src/abi/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abi/stack.h b/src/abi/stack.h index c06caa2d0..e217d7caa 100644 --- a/src/abi/stack.h +++ b/src/abi/stack.h @@ -91,7 +91,7 @@ getStackSpace(Index local, Function* func, Index size, Module& wasm) { if (PointerType == Type::i32) { added = builder.makeBinary(AddInt32, builder.makeLocalGet(local, PointerType), - builder.makeConst(Literal(int32_t(size)))); + builder.makeConst(int32_t(size))); } else { WASM_UNREACHABLE("unhandled PointerType"); } |