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 43bc4fc4ecd3fa8f58a2f1537f36a31c1ffac803..be8a18473971c192a4572dc29d3c6524cdbee1cc 100644 |
--- a/test/unittests/wasm/wasm-macro-gen-unittest.cc |
+++ b/test/unittests/wasm/wasm-macro-gen-unittest.cc |
@@ -64,19 +64,19 @@ TEST_F(WasmMacroGenTest, Statements) { |
EXPECT_SIZE(5, WASM_SELECT(WASM_ZERO, WASM_NOP, WASM_NOP)); |
- EXPECT_SIZE(4, WASM_BR(0)); |
+ EXPECT_SIZE(3, WASM_BR(0)); |
EXPECT_SIZE(5, WASM_BR_IF(0, WASM_ZERO)); |
EXPECT_SIZE(3, WASM_BLOCK(1, WASM_NOP)); |
EXPECT_SIZE(4, WASM_BLOCK(2, WASM_NOP, WASM_NOP)); |
EXPECT_SIZE(5, WASM_BLOCK(3, WASM_NOP, WASM_NOP, WASM_NOP)); |
- EXPECT_SIZE(6, WASM_INFINITE_LOOP); |
+ EXPECT_SIZE(5, WASM_INFINITE_LOOP); |
EXPECT_SIZE(3, WASM_LOOP(1, WASM_NOP)); |
EXPECT_SIZE(4, WASM_LOOP(2, WASM_NOP, WASM_NOP)); |
EXPECT_SIZE(5, WASM_LOOP(3, WASM_NOP, WASM_NOP, WASM_NOP)); |
- EXPECT_SIZE(6, WASM_LOOP(1, WASM_BR(0))); |
+ EXPECT_SIZE(5, WASM_LOOP(1, WASM_BR(0))); |
EXPECT_SIZE(7, WASM_LOOP(1, WASM_BR_IF(0, WASM_ZERO))); |
EXPECT_SIZE(2, WASM_RETURN0); |
@@ -91,8 +91,8 @@ TEST_F(WasmMacroGenTest, MacroStatements) { |
EXPECT_SIZE(7, WASM_INC_LOCAL(0)); |
EXPECT_SIZE(7, WASM_INC_LOCAL_BY(0, 3)); |
- EXPECT_SIZE(4, WASM_BREAK(0)); |
- EXPECT_SIZE(4, WASM_CONTINUE(0)); |
+ EXPECT_SIZE(3, WASM_BREAK(0)); |
+ EXPECT_SIZE(3, WASM_CONTINUE(0)); |
} |
TEST_F(WasmMacroGenTest, BrTable) { |