Index: test/unittests/wasm/wasm-macro-gen-unittest.cc |
diff --git a/test/unittests/wasm/wasm-macro-gen-unittest.cc b/test/unittests/wasm/wasm-macro-gen-unittest.cc |
index ef72fab1cfd37417c5db6436e3978091a8c6bcde..2b782f5dc7e7b8b7468ad65a2e94edcbb425a694 100644 |
--- a/test/unittests/wasm/wasm-macro-gen-unittest.cc |
+++ b/test/unittests/wasm/wasm-macro-gen-unittest.cc |
@@ -52,7 +52,7 @@ TEST_F(WasmMacroGenTest, Statements) { |
EXPECT_SIZE(4, WASM_SET_LOCAL(0, WASM_ZERO)); |
- EXPECT_SIZE(4, WASM_STORE_GLOBAL(0, WASM_ZERO)); |
+ EXPECT_SIZE(4, WASM_SET_GLOBAL(0, WASM_ZERO)); |
EXPECT_SIZE(7, WASM_STORE_MEM(MachineType::Int32(), WASM_ZERO, WASM_ZERO)); |
@@ -101,9 +101,9 @@ TEST_F(WasmMacroGenTest, Expressions) { |
EXPECT_SIZE(2, WASM_GET_LOCAL(0)); |
EXPECT_SIZE(2, WASM_GET_LOCAL(1)); |
EXPECT_SIZE(2, WASM_GET_LOCAL(12)); |
- EXPECT_SIZE(2, WASM_LOAD_GLOBAL(0)); |
- EXPECT_SIZE(2, WASM_LOAD_GLOBAL(1)); |
- EXPECT_SIZE(2, WASM_LOAD_GLOBAL(12)); |
+ EXPECT_SIZE(2, WASM_GET_GLOBAL(0)); |
+ EXPECT_SIZE(2, WASM_GET_GLOBAL(1)); |
+ EXPECT_SIZE(2, WASM_GET_GLOBAL(12)); |
EXPECT_SIZE(5, WASM_LOAD_MEM(MachineType::Int32(), WASM_ZERO)); |
EXPECT_SIZE(5, WASM_LOAD_MEM(MachineType::Float64(), WASM_ZERO)); |
EXPECT_SIZE(5, WASM_LOAD_MEM(MachineType::Float32(), WASM_ZERO)); |