| 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/schedule.h" | 5 #include "src/compiler/scheduler.h" |
| 6 #include "src/compiler/access-builder.h" | 6 #include "src/compiler/access-builder.h" |
| 7 #include "src/compiler/common-operator.h" | 7 #include "src/compiler/common-operator.h" |
| 8 #include "src/compiler/compiler-source-position-table.h" |
| 8 #include "src/compiler/graph-visualizer.h" | 9 #include "src/compiler/graph-visualizer.h" |
| 9 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
| 10 #include "src/compiler/js-operator.h" | 11 #include "src/compiler/js-operator.h" |
| 11 #include "src/compiler/node.h" | 12 #include "src/compiler/node.h" |
| 12 #include "src/compiler/opcodes.h" | 13 #include "src/compiler/opcodes.h" |
| 13 #include "src/compiler/operator.h" | 14 #include "src/compiler/operator.h" |
| 14 #include "src/compiler/scheduler.h" | 15 #include "src/compiler/schedule.h" |
| 15 #include "src/compiler/simplified-operator.h" | 16 #include "src/compiler/simplified-operator.h" |
| 16 #include "src/compiler/source-position.h" | |
| 17 #include "src/compiler/verifier.h" | 17 #include "src/compiler/verifier.h" |
| 18 #include "test/unittests/compiler/compiler-test-utils.h" | 18 #include "test/unittests/compiler/compiler-test-utils.h" |
| 19 #include "test/unittests/test-utils.h" | 19 #include "test/unittests/test-utils.h" |
| 20 #include "testing/gmock/include/gmock/gmock.h" | 20 #include "testing/gmock/include/gmock/gmock.h" |
| 21 | 21 |
| 22 using testing::AnyOf; | 22 using testing::AnyOf; |
| 23 | 23 |
| 24 namespace v8 { | 24 namespace v8 { |
| 25 namespace internal { | 25 namespace internal { |
| 26 namespace compiler { | 26 namespace compiler { |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 | 652 |
| 653 Schedule* schedule = ComputeAndVerifySchedule(6); | 653 Schedule* schedule = ComputeAndVerifySchedule(6); |
| 654 BasicBlock* block = schedule->block(loop); | 654 BasicBlock* block = schedule->block(loop); |
| 655 EXPECT_EQ(block, schedule->block(effect)); | 655 EXPECT_EQ(block, schedule->block(effect)); |
| 656 EXPECT_GE(block->rpo_number(), 0); | 656 EXPECT_GE(block->rpo_number(), 0); |
| 657 } | 657 } |
| 658 | 658 |
| 659 } // namespace compiler | 659 } // namespace compiler |
| 660 } // namespace internal | 660 } // namespace internal |
| 661 } // namespace v8 | 661 } // namespace v8 |
| OLD | NEW |