Index: test/mjsunit/wasm/trap-location.js |
diff --git a/test/mjsunit/wasm/trap-location.js b/test/mjsunit/wasm/trap-location.js |
index 5e3661d122bca556ac8de45204b556b56b4c09bb..0440af9ccc6565c80bab645e811b22d5af8b88c1 100644 |
--- a/test/mjsunit/wasm/trap-location.js |
+++ b/test/mjsunit/wasm/trap-location.js |
@@ -14,7 +14,7 @@ Error.prepareStackTrace = function(error, frames) { |
var builder = new WasmModuleBuilder(); |
-var sig_index = builder.addSignature(kSig_i_v) |
+var sig_index = builder.addType(kSig_i_v) |
// Build a function to resemble this code: |
// if (idx < 2) { |