Index: test/mjsunit/wasm/trap-location.js |
diff --git a/test/mjsunit/wasm/trap-location.js b/test/mjsunit/wasm/trap-location.js |
index 1aee6d1567ff4a3c379ede5f6afe963e552675a3..890672357c08ca18c87473c806e03ac203f82a3b 100644 |
--- a/test/mjsunit/wasm/trap-location.js |
+++ b/test/mjsunit/wasm/trap-location.js |
@@ -14,6 +14,8 @@ Error.prepareStackTrace = function(error, frames) { |
var builder = new WasmModuleBuilder(); |
+builder.addMemory(0, 1, false); |
+ |
var sig_index = builder.addType(kSig_i_v) |
// Build a function to resemble this code: |