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 "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 Loading... |
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 |
OLD | NEW |