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 1058993b35be3955eadff7f638ad25d033b1796c..ef72fab1cfd37417c5db6436e3978091a8c6bcde 100644 |
--- a/test/unittests/wasm/wasm-macro-gen-unittest.cc |
+++ b/test/unittests/wasm/wasm-macro-gen-unittest.cc |
@@ -65,17 +65,17 @@ TEST_F(WasmMacroGenTest, Statements) { |
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(3, WASM_BLOCK(WASM_NOP)); |
+ EXPECT_SIZE(4, WASM_BLOCK(WASM_NOP, WASM_NOP)); |
+ EXPECT_SIZE(5, WASM_BLOCK(WASM_NOP, WASM_NOP, WASM_NOP)); |
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(5, WASM_LOOP(1, WASM_BR(0))); |
- EXPECT_SIZE(7, WASM_LOOP(1, WASM_BR_IF(0, WASM_ZERO))); |
+ EXPECT_SIZE(3, WASM_LOOP(WASM_NOP)); |
+ EXPECT_SIZE(4, WASM_LOOP(WASM_NOP, WASM_NOP)); |
+ EXPECT_SIZE(5, WASM_LOOP(WASM_NOP, WASM_NOP, WASM_NOP)); |
+ EXPECT_SIZE(5, WASM_LOOP(WASM_BR(0))); |
+ EXPECT_SIZE(7, WASM_LOOP(WASM_BR_IF(0, WASM_ZERO))); |
EXPECT_SIZE(2, WASM_RETURN0); |
EXPECT_SIZE(4, WASM_RETURN1(WASM_ZERO)); |
@@ -113,13 +113,13 @@ TEST_F(WasmMacroGenTest, Expressions) { |
EXPECT_SIZE(5, WASM_BRV(1, WASM_ZERO)); |
EXPECT_SIZE(7, WASM_BRV_IF(1, WASM_ZERO, WASM_ZERO)); |
- EXPECT_SIZE(4, WASM_BLOCK(1, WASM_ZERO)); |
- EXPECT_SIZE(5, WASM_BLOCK(2, WASM_NOP, WASM_ZERO)); |
- EXPECT_SIZE(6, WASM_BLOCK(3, WASM_NOP, WASM_NOP, WASM_ZERO)); |
+ EXPECT_SIZE(4, WASM_BLOCK(WASM_ZERO)); |
+ EXPECT_SIZE(5, WASM_BLOCK(WASM_NOP, WASM_ZERO)); |
+ EXPECT_SIZE(6, WASM_BLOCK(WASM_NOP, WASM_NOP, WASM_ZERO)); |
- EXPECT_SIZE(4, WASM_LOOP(1, WASM_ZERO)); |
- EXPECT_SIZE(5, WASM_LOOP(2, WASM_NOP, WASM_ZERO)); |
- EXPECT_SIZE(6, WASM_LOOP(3, WASM_NOP, WASM_NOP, WASM_ZERO)); |
+ EXPECT_SIZE(4, WASM_LOOP(WASM_ZERO)); |
+ EXPECT_SIZE(5, WASM_LOOP(WASM_NOP, WASM_ZERO)); |
+ EXPECT_SIZE(6, WASM_LOOP(WASM_NOP, WASM_NOP, WASM_ZERO)); |
} |
TEST_F(WasmMacroGenTest, CallFunction) { |