Index: src/wasm/wasm-interpreter.cc |
diff --git a/src/wasm/wasm-interpreter.cc b/src/wasm/wasm-interpreter.cc |
index 9cfe521149eb46cf113ceeeda3123720ee1f02fa..c8a257e569b920e918eb77c7c7209b1c79ccf795 100644 |
--- a/src/wasm/wasm-interpreter.cc |
+++ b/src/wasm/wasm-interpreter.cc |
@@ -1405,7 +1405,7 @@ class ThreadImpl : public WasmInterpreter::Thread { |
UNIMPLEMENTED(); |
break; |
} |
- case kExprLoadGlobal: { |
+ case kExprGetGlobal: { |
GlobalIndexOperand operand(&decoder, code->at(pc)); |
const WasmGlobal* global = &module()->globals[operand.index]; |
byte* ptr = instance()->globals_start + global->offset; |
@@ -1426,7 +1426,7 @@ class ThreadImpl : public WasmInterpreter::Thread { |
len = 1 + operand.length; |
break; |
} |
- case kExprStoreGlobal: { |
+ case kExprSetGlobal: { |
GlobalIndexOperand operand(&decoder, code->at(pc)); |
const WasmGlobal* global = &module()->globals[operand.index]; |
byte* ptr = instance()->globals_start + global->offset; |