summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/wasm/indirect-tables.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/wasm/indirect-tables.js')
-rw-r--r--deps/v8/test/mjsunit/wasm/indirect-tables.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/wasm/indirect-tables.js b/deps/v8/test/mjsunit/wasm/indirect-tables.js
index e48157001b..8296e97b8e 100644
--- a/deps/v8/test/mjsunit/wasm/indirect-tables.js
+++ b/deps/v8/test/mjsunit/wasm/indirect-tables.js
@@ -333,8 +333,8 @@ function js_div(a, b) { return (a / b) | 0; }
assertTraps(kTrapFuncSigMismatch, () => i1.exports.main(2));
assertTraps(kTrapFuncSigMismatch, () => i2.exports.main(2));
- assertTraps(kTrapFuncInvalid, () => i1.exports.main(3));
- assertTraps(kTrapFuncInvalid, () => i2.exports.main(3));
+ assertTraps(kTrapTableOutOfBounds, () => i1.exports.main(3));
+ assertTraps(kTrapTableOutOfBounds, () => i2.exports.main(3));
})();
(function MismatchedTableSize() {