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 639f6921f8e96d60067bc27578dd6a7c225f84e2..45e7b3983b3ceaaa3364387e5eb3e7f544499067 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_STORE_GLOBAL(0, WASM_ZERO)); |
- EXPECT_SIZE(6, WASM_STORE_MEM(MachineType::Int32(), WASM_ZERO, WASM_ZERO)); |
+ EXPECT_SIZE(7, WASM_STORE_MEM(MachineType::Int32(), WASM_ZERO, WASM_ZERO)); |
EXPECT_SIZE(4, WASM_IF(WASM_ZERO, WASM_NOP)); |
@@ -104,9 +104,9 @@ TEST_F(WasmMacroGenTest, Expressions) { |
EXPECT_SIZE(2, WASM_LOAD_GLOBAL(0)); |
EXPECT_SIZE(2, WASM_LOAD_GLOBAL(1)); |
EXPECT_SIZE(2, WASM_LOAD_GLOBAL(12)); |
- EXPECT_SIZE(4, WASM_LOAD_MEM(MachineType::Int32(), WASM_ZERO)); |
- EXPECT_SIZE(4, WASM_LOAD_MEM(MachineType::Float64(), WASM_ZERO)); |
- EXPECT_SIZE(4, WASM_LOAD_MEM(MachineType::Float32(), WASM_ZERO)); |
+ 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)); |
EXPECT_SIZE(3, WASM_NOT(WASM_ZERO)); |
@@ -302,10 +302,10 @@ static const MachineType kMemTypes[] = { |
TEST_F(WasmMacroGenTest, LoadsAndStores) { |
for (size_t i = 0; i < arraysize(kMemTypes); i++) { |
- EXPECT_SIZE(4, WASM_LOAD_MEM(kMemTypes[i], WASM_ZERO)); |
+ EXPECT_SIZE(5, WASM_LOAD_MEM(kMemTypes[i], WASM_ZERO)); |
} |
for (size_t i = 0; i < arraysize(kMemTypes); i++) { |
- EXPECT_SIZE(6, WASM_STORE_MEM(kMemTypes[i], WASM_ZERO, WASM_GET_LOCAL(0))); |
+ EXPECT_SIZE(7, WASM_STORE_MEM(kMemTypes[i], WASM_ZERO, WASM_GET_LOCAL(0))); |
} |
} |