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

Side by Side Diff: test/unittests/compiler/instruction-selector-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 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 "test/unittests/compiler/instruction-selector-unittest.h" 5 #include "test/unittests/compiler/instruction-selector-unittest.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/compiler/compiler-source-position-table.h"
8 #include "src/compiler/graph.h" 9 #include "src/compiler/graph.h"
9 #include "src/compiler/schedule.h" 10 #include "src/compiler/schedule.h"
10 #include "src/flags.h" 11 #include "src/flags.h"
11 #include "test/unittests/compiler/compiler-test-utils.h" 12 #include "test/unittests/compiler/compiler-test-utils.h"
12 13
13 namespace v8 { 14 namespace v8 {
14 namespace internal { 15 namespace internal {
15 namespace compiler { 16 namespace compiler {
16 17
17 18
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 EXPECT_EQ(s.ToVreg(context2), s.ToVreg(call_instr->InputAt(14))); 617 EXPECT_EQ(s.ToVreg(context2), s.ToVreg(call_instr->InputAt(14)));
617 // Continuation. 618 // Continuation.
618 619
619 EXPECT_EQ(kArchRet, s[index++]->arch_opcode()); 620 EXPECT_EQ(kArchRet, s[index++]->arch_opcode());
620 EXPECT_EQ(index, s.size()); 621 EXPECT_EQ(index, s.size());
621 } 622 }
622 623
623 } // namespace compiler 624 } // namespace compiler
624 } // namespace internal 625 } // namespace internal
625 } // namespace v8 626 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698