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 d047e040325b429c2c179ef4bfcc9bc55e16217d..201316ddc97bac5660c635105c211a74b59a88fd 100644 |
--- a/test/unittests/wasm/wasm-macro-gen-unittest.cc |
+++ b/test/unittests/wasm/wasm-macro-gen-unittest.cc |
@@ -22,8 +22,8 @@ TEST_F(WasmMacroGenTest, Constants) { |
EXPECT_SIZE(2, WASM_ONE); |
EXPECT_SIZE(2, WASM_ZERO); |
- EXPECT_SIZE(2, WASM_I8(122)); |
- EXPECT_SIZE(2, WASM_I8(254)); |
+ EXPECT_SIZE(2, WASM_I32V_1(-22)); |
+ EXPECT_SIZE(2, WASM_I32V_1(54)); |
EXPECT_SIZE(2, WASM_I32V_1(1)); |
EXPECT_SIZE(3, WASM_I32V_2(200)); |
@@ -84,7 +84,7 @@ TEST_F(WasmMacroGenTest, Statements) { |
} |
TEST_F(WasmMacroGenTest, MacroStatements) { |
- EXPECT_SIZE(11, WASM_WHILE(WASM_I8(0), WASM_NOP)); |
+ EXPECT_SIZE(11, WASM_WHILE(WASM_ZERO, WASM_NOP)); |
EXPECT_SIZE(7, WASM_INC_LOCAL(0)); |
EXPECT_SIZE(7, WASM_INC_LOCAL_BY(0, 3)); |