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/v8.h" | 5 #include "src/v8.h" |
6 #include "test/cctest/cctest.h" | 6 #include "test/cctest/cctest.h" |
7 | 7 |
8 #include "src/compiler/access-builder.h" | 8 #include "src/compiler/access-builder.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
| 10 #include "src/compiler/generic-node-inl.h" |
| 11 #include "src/compiler/generic-node.h" |
10 #include "src/compiler/graph.h" | 12 #include "src/compiler/graph.h" |
11 #include "src/compiler/graph-visualizer.h" | 13 #include "src/compiler/graph-visualizer.h" |
12 #include "src/compiler/js-operator.h" | 14 #include "src/compiler/js-operator.h" |
13 #include "src/compiler/machine-operator.h" | 15 #include "src/compiler/machine-operator.h" |
14 #include "src/compiler/node.h" | 16 #include "src/compiler/node.h" |
15 #include "src/compiler/operator.h" | 17 #include "src/compiler/operator.h" |
16 #include "src/compiler/schedule.h" | 18 #include "src/compiler/schedule.h" |
17 #include "src/compiler/scheduler.h" | 19 #include "src/compiler/scheduler.h" |
18 #include "src/compiler/simplified-operator.h" | 20 #include "src/compiler/simplified-operator.h" |
19 #include "src/compiler/verifier.h" | 21 #include "src/compiler/verifier.h" |
(...skipping 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 graph.SetEnd(end); | 1917 graph.SetEnd(end); |
1916 | 1918 |
1917 Schedule* schedule = ComputeAndVerifySchedule(5, &graph); | 1919 Schedule* schedule = ComputeAndVerifySchedule(5, &graph); |
1918 BasicBlock* block = schedule->block(loop); | 1920 BasicBlock* block = schedule->block(loop); |
1919 CHECK_NE(NULL, loop); | 1921 CHECK_NE(NULL, loop); |
1920 CHECK_EQ(block, schedule->block(effect)); | 1922 CHECK_EQ(block, schedule->block(effect)); |
1921 CHECK_GE(block->rpo_number(), 0); | 1923 CHECK_GE(block->rpo_number(), 0); |
1922 } | 1924 } |
1923 | 1925 |
1924 #endif | 1926 #endif |
OLD | NEW |