Index: src/wasm/ast-decoder.cc |
diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc |
index 390a67300a34a22640952dc5bc92339d341217f7..37d077dfb06ac3a8b3803d020f96257029508385 100644 |
--- a/src/wasm/ast-decoder.cc |
+++ b/src/wasm/ast-decoder.cc |
@@ -310,6 +310,7 @@ class WasmDecoder : public Decoder { |
FOREACH_STORE_MEM_OPCODE(DECLARE_OPCODE_CASE) |
FOREACH_MISC_MEM_OPCODE(DECLARE_OPCODE_CASE) |
FOREACH_SIMPLE_OPCODE(DECLARE_OPCODE_CASE) |
+ FOREACH_SIMPLE_MEM_OPCODE(DECLARE_OPCODE_CASE) |
FOREACH_ASMJS_COMPAT_OPCODE(DECLARE_OPCODE_CASE) |
FOREACH_SIMD_OPCODE(DECLARE_OPCODE_CASE) |
#undef DECLARE_OPCODE_CASE |
@@ -975,12 +976,6 @@ class SR_WasmDecoder : public WasmDecoder { |
case kExprMemorySize: |
Push(kAstI32, BUILD(MemSize, 0)); |
break; |
- case kExprGrowMemory: { |
- Value val = Pop(0, kAstI32); |
- USE(val); // TODO(titzer): build node for grow memory |
- Push(kAstI32, BUILD(Int32Constant, 0)); |
- break; |
- } |
case kExprCallFunction: { |
CallFunctionOperand operand(this, pc_); |
if (Validate(pc_, operand)) { |