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

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

Issue 951553005: [turbofan] remove dependence of InstructionBlock on BasicBlock (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months 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/compiler/graph.h" 7 #include "src/compiler/graph.h"
8 #include "src/compiler/schedule.h"
8 #include "src/flags.h" 9 #include "src/flags.h"
9 #include "test/unittests/compiler/compiler-test-utils.h" 10 #include "test/unittests/compiler/compiler-test-utils.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 namespace compiler { 14 namespace compiler {
14 15
15 namespace { 16 namespace {
16 17
17 typedef RawMachineAssembler::Label MLabel; 18 typedef RawMachineAssembler::Label MLabel;
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 EXPECT_EQ(s.ToVreg(context2), s.ToVreg(call_instr->InputAt(12))); 564 EXPECT_EQ(s.ToVreg(context2), s.ToVreg(call_instr->InputAt(12)));
564 // Continuation. 565 // Continuation.
565 566
566 EXPECT_EQ(kArchRet, s[index++]->arch_opcode()); 567 EXPECT_EQ(kArchRet, s[index++]->arch_opcode());
567 EXPECT_EQ(index, s.size()); 568 EXPECT_EQ(index, s.size());
568 } 569 }
569 570
570 } // namespace compiler 571 } // namespace compiler
571 } // namespace internal 572 } // namespace internal
572 } // namespace v8 573 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-jump-threading.cc ('k') | test/unittests/compiler/instruction-sequence-unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698