OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/compiler/access-builder.h" | 5 #include "src/compiler/access-builder.h" |
6 #include "src/compiler/graph.h" | 6 #include "src/compiler/graph.h" |
7 #include "src/compiler/graph-visualizer.h" | |
8 #include "src/compiler/js-graph.h" | 7 #include "src/compiler/js-graph.h" |
9 #include "src/compiler/loop-peeling.h" | 8 #include "src/compiler/loop-peeling.h" |
10 #include "src/compiler/machine-operator.h" | 9 #include "src/compiler/machine-operator.h" |
11 #include "src/compiler/node.h" | 10 #include "src/compiler/node.h" |
12 #include "src/compiler/node-properties.h" | 11 #include "src/compiler/node-properties.h" |
| 12 #include "src/compiler/visualizer.h" |
13 #include "test/unittests/compiler/compiler-test-utils.h" | 13 #include "test/unittests/compiler/compiler-test-utils.h" |
14 #include "test/unittests/compiler/graph-unittest.h" | 14 #include "test/unittests/compiler/graph-unittest.h" |
15 #include "test/unittests/compiler/node-test-utils.h" | 15 #include "test/unittests/compiler/node-test-utils.h" |
16 #include "testing/gmock-support.h" | 16 #include "testing/gmock-support.h" |
17 | 17 |
18 using testing::AllOf; | 18 using testing::AllOf; |
19 using testing::BitEq; | 19 using testing::BitEq; |
20 using testing::Capture; | 20 using testing::Capture; |
21 using testing::CaptureEq; | 21 using testing::CaptureEq; |
22 | 22 |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 EXPECT_THAT( | 442 EXPECT_THAT( |
443 r, IsReturn(IsPhi(kMachAnyTagged, phi, IsInt32Constant(0), | 443 r, IsReturn(IsPhi(kMachAnyTagged, phi, IsInt32Constant(0), |
444 AllOf(CaptureEq(&merge), IsMerge(b1.if_false, b1f))), | 444 AllOf(CaptureEq(&merge), IsMerge(b1.if_false, b1f))), |
445 start(), CaptureEq(&merge))); | 445 start(), CaptureEq(&merge))); |
446 } | 446 } |
447 | 447 |
448 | 448 |
449 } // namespace compiler | 449 } // namespace compiler |
450 } // namespace internal | 450 } // namespace internal |
451 } // namespace v8 | 451 } // namespace v8 |
OLD | NEW |