Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index b4aaed130c50075d46ee91997d3177ea787a705f..e21bf8e9623996fb93009a750a2714ba9df4e4d7 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -461,11 +461,16 @@ const WasmCodePosition kNoCodePosition = -1; |
V(s_sii, kAstS128, kAstS128, kAstI32, kAstI32) \ |
V(s_si, kAstS128, kAstS128, kAstI32) |
+#define FOREACH_PREFIX(V) V(Simd, 0xe5) |
+ |
enum WasmOpcode { |
// Declare expression opcodes. |
#define DECLARE_NAMED_ENUM(name, opcode, sig) kExpr##name = opcode, |
FOREACH_OPCODE(DECLARE_NAMED_ENUM) |
#undef DECLARE_NAMED_ENUM |
+#define DECLARE_PREFIX(name, opcode) k##name##Prefix = opcode, |
+ FOREACH_PREFIX(DECLARE_PREFIX) |
+#undef DECLARE_PREFIX |
}; |
// The reason for a trap. |