Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index b29e4a0fea83d8b9f9d9528b7ad20d7c7cc4b1d1..73280efee70d071c23fa0cee6ba61d423f6fea35 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -116,9 +116,10 @@ const WasmCodePosition kNoCodePosition = -1; |
V(F32StoreMem, 0x35, f_if) \ |
V(F64StoreMem, 0x36, d_id) |
+#define FOREACH_SIMPLE_MEM_OPCODE(V) V(GrowMemory, 0x39, i_i) |
+ |
// Load memory expressions. |
#define FOREACH_MISC_MEM_OPCODE(V) \ |
- V(GrowMemory, 0x39, i_i) \ |
V(MemorySize, 0x3b, i_v) |
// Expressions with signatures. |
@@ -410,6 +411,7 @@ const WasmCodePosition kNoCodePosition = -1; |
FOREACH_CONTROL_OPCODE(V) \ |
FOREACH_MISC_OPCODE(V) \ |
FOREACH_SIMPLE_OPCODE(V) \ |
+ FOREACH_SIMPLE_MEM_OPCODE(V) \ |
FOREACH_STORE_MEM_OPCODE(V) \ |
FOREACH_LOAD_MEM_OPCODE(V) \ |
FOREACH_MISC_MEM_OPCODE(V) \ |