Index: test/mjsunit/wasm/wasm-constants.js |
diff --git a/test/mjsunit/wasm/wasm-constants.js b/test/mjsunit/wasm/wasm-constants.js |
index 5f0abb8325b082f17340825ad625eeea4886d750..952ed01452f2db67267aa9ae1e50d18216177ffe 100644 |
--- a/test/mjsunit/wasm/wasm-constants.js |
+++ b/test/mjsunit/wasm/wasm-constants.js |
@@ -304,6 +304,8 @@ var kExprI32Rol = 0xb7; |
var kExprI64Ror = 0xb8; |
var kExprI64Rol = 0xb9; |
+var kExprJITSingleFunction = 0xf0; |
+ |
var kTrapUnreachable = 0; |
var kTrapMemOutOfBounds = 1; |
var kTrapDivByZero = 2; |
@@ -313,6 +315,7 @@ var kTrapFloatUnrepresentable = 5; |
var kTrapFuncInvalid = 6; |
var kTrapFuncSigMismatch = 7; |
var kTrapMemAllocationFail = 8; |
+var kTrapInvalidIndex = 9; |
var kTrapMsgs = [ |
"unreachable", |
@@ -323,7 +326,8 @@ var kTrapMsgs = [ |
"integer result unrepresentable", |
"invalid function", |
"function signature mismatch", |
- "failed to allocate memory" |
+ "failed to allocate memory", |
+ "invalid index into function table" |
]; |
function assertTraps(trap, code) { |