Index: test/mjsunit/wasm/wasm-constants.js |
diff --git a/test/mjsunit/wasm/wasm-constants.js b/test/mjsunit/wasm/wasm-constants.js |
index 319cadc0237468412bc0f0d5842cbe38ba663810..5f0abb8325b082f17340825ad625eeea4886d750 100644 |
--- a/test/mjsunit/wasm/wasm-constants.js |
+++ b/test/mjsunit/wasm/wasm-constants.js |
@@ -312,6 +312,7 @@ var kTrapRemByZero = 4; |
var kTrapFloatUnrepresentable = 5; |
var kTrapFuncInvalid = 6; |
var kTrapFuncSigMismatch = 7; |
+var kTrapMemAllocationFail = 8; |
var kTrapMsgs = [ |
"unreachable", |
@@ -321,7 +322,8 @@ var kTrapMsgs = [ |
"remainder by zero", |
"integer result unrepresentable", |
"invalid function", |
- "function signature mismatch" |
+ "function signature mismatch", |
+ "failed to allocate memory" |
]; |
function assertTraps(trap, code) { |