Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: test/unittests/compiler/scheduler-unittest.cc

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed gcmole issue Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 670
671 Schedule* schedule = ComputeAndVerifySchedule(6); 671 Schedule* schedule = ComputeAndVerifySchedule(6);
672 BasicBlock* block = schedule->block(loop); 672 BasicBlock* block = schedule->block(loop);
673 EXPECT_EQ(block, schedule->block(effect)); 673 EXPECT_EQ(block, schedule->block(effect));
674 EXPECT_GE(block->rpo_number(), 0); 674 EXPECT_GE(block->rpo_number(), 0);
675 } 675 }
676 676
677 } // namespace compiler 677 } // namespace compiler
678 } // namespace internal 678 } // namespace internal
679 } // namespace v8 679 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698