Index: test/mjsunit/wasm/trap-location-with-trap-if.js |
diff --git a/test/mjsunit/wasm/trap-location-with-trap-if.js b/test/mjsunit/wasm/trap-location-with-trap-if.js |
index 752ec6c2df6f0b4c0300c2c735c703d98810c016..d0b65337bb6b52895de13f232645a5b802d5f0f8 100644 |
--- a/test/mjsunit/wasm/trap-location-with-trap-if.js |
+++ b/test/mjsunit/wasm/trap-location-with-trap-if.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: |