| Index: test/cctest/compiler/test-run-machops.cc
|
| diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc
|
| index c8261aea49ff38249d5634995bdd7a7d202bcb81..7031c5889c453e34250b7121a88b44375b441592 100644
|
| --- a/test/cctest/compiler/test-run-machops.cc
|
| +++ b/test/cctest/compiler/test-run-machops.cc
|
| @@ -6730,6 +6730,14 @@ TEST(Regression5923) {
|
| }
|
| }
|
|
|
| +TEST(Regression5951) {
|
| + BufferedRawMachineAssemblerTester<int64_t> m(MachineType::Int64());
|
| + m.Return(m.Word64And(m.Word64Shr(m.Parameter(0), m.Int64Constant(0)),
|
| + m.Int64Constant(0xffffffffffffffffl)));
|
| + int64_t input = 1234;
|
| + CHECK_EQ(input, m.Call(input));
|
| +}
|
| +
|
| #endif // V8_TARGET_ARCH_64_BIT
|
|
|
| } // namespace compiler
|
|
|