| Index: test/cctest/wasm/test-run-wasm-64.cc
|
| diff --git a/test/cctest/wasm/test-run-wasm-64.cc b/test/cctest/wasm/test-run-wasm-64.cc
|
| index e8af47b0917c8dac4e7c7962c323808bf6f2c18b..784f21a050f3ef27e2f144d1a7e7b781dec0c27f 100644
|
| --- a/test/cctest/wasm/test-run-wasm-64.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-64.cc
|
| @@ -1353,7 +1353,7 @@ TEST(Run_Wasm_I64Rol) {
|
|
|
| FOR_UINT64_INPUTS(i) {
|
| FOR_UINT64_INPUTS(j) {
|
| - int64_t expected = bits::RotateRight64(*i, 64 - (*j & 0x3f));
|
| + int64_t expected = bits::RotateLeft64(*i, *j & 0x3f);
|
| CHECK_EQ(expected, r.Call(*i, *j));
|
| }
|
| }
|
|
|