OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/base/bits.h" | 5 #include "src/base/bits.h" |
6 #include "src/base/division-by-constant.h" | 6 #include "src/base/division-by-constant.h" |
7 #include "src/compiler/js-graph.h" | 7 #include "src/compiler/js-graph.h" |
8 #include "src/compiler/machine-operator-reducer.h" | 8 #include "src/compiler/machine-operator-reducer.h" |
9 #include "src/compiler/typer.h" | 9 #include "src/compiler/typer.h" |
| 10 #include "src/conversions-inl.h" |
10 #include "test/unittests/compiler/graph-unittest.h" | 11 #include "test/unittests/compiler/graph-unittest.h" |
11 #include "test/unittests/compiler/node-test-utils.h" | 12 #include "test/unittests/compiler/node-test-utils.h" |
12 #include "testing/gmock-support.h" | 13 #include "testing/gmock-support.h" |
13 | 14 |
14 using testing::AllOf; | 15 using testing::AllOf; |
15 using testing::BitEq; | 16 using testing::BitEq; |
16 using testing::Capture; | 17 using testing::Capture; |
17 using testing::CaptureEq; | 18 using testing::CaptureEq; |
18 | 19 |
19 namespace v8 { | 20 namespace v8 { |
(...skipping 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1577 Reduction r = Reduce(node); | 1578 Reduction r = Reduce(node); |
1578 ASSERT_TRUE(r.Changed()); | 1579 ASSERT_TRUE(r.Changed()); |
1579 EXPECT_THAT(r.replacement(), | 1580 EXPECT_THAT(r.replacement(), |
1580 IsStore(rep, base, index, value, effect, control)); | 1581 IsStore(rep, base, index, value, effect, control)); |
1581 } | 1582 } |
1582 } | 1583 } |
1583 | 1584 |
1584 } // namespace compiler | 1585 } // namespace compiler |
1585 } // namespace internal | 1586 } // namespace internal |
1586 } // namespace v8 | 1587 } // namespace v8 |
OLD | NEW |