Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Unified Diff: test/mjsunit/wasm/wasm-constants.js

Issue 2049513003: [wasm] Support undefined indirect table entries, behind a flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/messages.h ('K') | « test/mjsunit/wasm/default-func-call2.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/wasm-constants.js
diff --git a/test/mjsunit/wasm/wasm-constants.js b/test/mjsunit/wasm/wasm-constants.js
index 389383e90a1306cc000027e96f66302ea427e599..6f953e89c27afee3725d02fd56a6de9b206581cb 100644
--- a/test/mjsunit/wasm/wasm-constants.js
+++ b/test/mjsunit/wasm/wasm-constants.js
@@ -303,6 +303,7 @@ var kTrapRemByZero = 4;
var kTrapFloatUnrepresentable = 5;
var kTrapFuncInvalid = 6;
var kTrapFuncSigMismatch = 7;
+var kTrapDefaultFuncCall = 8;
var kTrapMsgs = [
"unreachable",
@@ -312,7 +313,8 @@ var kTrapMsgs = [
"remainder by zero",
"integer result unrepresentable",
"invalid function",
- "function signature mismatch"
+ "function signature mismatch",
+ "default function call"
];
function assertTraps(trap, code) {
« src/messages.h ('K') | « test/mjsunit/wasm/default-func-call2.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698