Index: test/unittests/wasm/ast-decoder-unittest.cc |
diff --git a/test/unittests/wasm/ast-decoder-unittest.cc b/test/unittests/wasm/ast-decoder-unittest.cc |
index 13f623e2c9702317ef1f14adcb4eb7b9ef1a17d2..aba2a48bb2222ca6d9dbcaf896bf7334d37c601a 100644 |
--- a/test/unittests/wasm/ast-decoder-unittest.cc |
+++ b/test/unittests/wasm/ast-decoder-unittest.cc |
@@ -870,6 +870,8 @@ TEST_F(AstDecoderTest, MacrosInt32) { |
VERIFY(WASM_I32_SHL(WASM_GET_LOCAL(0), WASM_I8(22))); |
VERIFY(WASM_I32_SHR(WASM_GET_LOCAL(0), WASM_I8(23))); |
VERIFY(WASM_I32_SAR(WASM_GET_LOCAL(0), WASM_I8(24))); |
+ VERIFY(WASM_I32_ROR(WASM_GET_LOCAL(0), WASM_I8(24))); |
+ VERIFY(WASM_I32_ROL(WASM_GET_LOCAL(0), WASM_I8(24))); |
VERIFY(WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(25))); |
VERIFY(WASM_I32_NE(WASM_GET_LOCAL(0), WASM_I8(25))); |
@@ -907,6 +909,8 @@ TEST_F(AstDecoderTest, MacrosInt64) { |
VERIFY_L_LL(WASM_I64_SHL(WASM_GET_LOCAL(0), WASM_I64(22))); |
VERIFY_L_LL(WASM_I64_SHR(WASM_GET_LOCAL(0), WASM_I64(23))); |
VERIFY_L_LL(WASM_I64_SAR(WASM_GET_LOCAL(0), WASM_I64(24))); |
+ VERIFY_L_LL(WASM_I64_ROR(WASM_GET_LOCAL(0), WASM_I64(24))); |
+ VERIFY_L_LL(WASM_I64_ROL(WASM_GET_LOCAL(0), WASM_I64(24))); |
VERIFY_I_LL(WASM_I64_LTS(WASM_GET_LOCAL(0), WASM_I64(26))); |
VERIFY_I_LL(WASM_I64_LES(WASM_GET_LOCAL(0), WASM_I64(27))); |