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 | 6 |
7 #include "src/compiler/access-builder.h" | 7 #include "src/compiler/access-builder.h" |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/generic-node-inl.h" | |
10 #include "src/compiler/generic-node.h" | |
11 #include "src/compiler/graph.h" | 9 #include "src/compiler/graph.h" |
12 #include "src/compiler/graph-visualizer.h" | 10 #include "src/compiler/graph-visualizer.h" |
13 #include "src/compiler/js-operator.h" | 11 #include "src/compiler/js-operator.h" |
14 #include "src/compiler/node.h" | 12 #include "src/compiler/node.h" |
15 #include "src/compiler/opcodes.h" | 13 #include "src/compiler/opcodes.h" |
16 #include "src/compiler/operator.h" | 14 #include "src/compiler/operator.h" |
17 #include "src/compiler/schedule.h" | 15 #include "src/compiler/schedule.h" |
18 #include "src/compiler/scheduler.h" | 16 #include "src/compiler/scheduler.h" |
19 #include "src/compiler/simplified-operator.h" | 17 #include "src/compiler/simplified-operator.h" |
20 #include "src/compiler/verifier.h" | 18 #include "src/compiler/verifier.h" |
(...skipping 2061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2082 graph.SetEnd(end); | 2080 graph.SetEnd(end); |
2083 | 2081 |
2084 Schedule* schedule = ComputeAndVerifySchedule(6, &graph); | 2082 Schedule* schedule = ComputeAndVerifySchedule(6, &graph); |
2085 BasicBlock* block = schedule->block(loop); | 2083 BasicBlock* block = schedule->block(loop); |
2086 CHECK_NE(NULL, loop); | 2084 CHECK_NE(NULL, loop); |
2087 CHECK_EQ(block, schedule->block(effect)); | 2085 CHECK_EQ(block, schedule->block(effect)); |
2088 CHECK_GE(block->rpo_number(), 0); | 2086 CHECK_GE(block->rpo_number(), 0); |
2089 } | 2087 } |
2090 | 2088 |
2091 #endif | 2089 #endif |
OLD | NEW |