Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index b4aaed130c50075d46ee91997d3177ea787a705f..124240fad39efaf8bcfc6ac9ad9d405ab1cb1dd1 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -406,6 +406,9 @@ const WasmCodePosition kNoCodePosition = -1; |
V(S128Xor, 0xe578, s_ss) \ |
V(S128Not, 0xe579, s_s) |
+// For enabling JIT functionality |
+#define FOREACH_JIT_OPCODE(V) V(JITSingleFunction, 0xf0, _) |
+ |
// All opcodes. |
#define FOREACH_OPCODE(V) \ |
FOREACH_CONTROL_OPCODE(V) \ |
@@ -416,7 +419,8 @@ const WasmCodePosition kNoCodePosition = -1; |
FOREACH_LOAD_MEM_OPCODE(V) \ |
FOREACH_MISC_MEM_OPCODE(V) \ |
FOREACH_ASMJS_COMPAT_OPCODE(V) \ |
- FOREACH_SIMD_OPCODE(V) |
+ FOREACH_SIMD_OPCODE(V) \ |
+ FOREACH_JIT_OPCODE(V) |
// All signatures. |
#define FOREACH_SIGNATURE(V) \ |
@@ -478,7 +482,8 @@ enum WasmOpcode { |
V(TrapFloatUnrepresentable) \ |
V(TrapFuncInvalid) \ |
V(TrapFuncSigMismatch) \ |
- V(TrapMemAllocationFail) |
+ V(TrapMemAllocationFail) \ |
+ V(TrapInvalidIndex) |
enum TrapReason { |
#define DECLARE_ENUM(name) k##name, |