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-inl.h" | 7 #include "src/compiler/graph.h" |
8 #include "src/flags.h" | 8 #include "src/flags.h" |
9 #include "test/unittests/compiler/compiler-test-utils.h" | 9 #include "test/unittests/compiler/compiler-test-utils.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 namespace compiler { | 13 namespace compiler { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 typedef RawMachineAssembler::Label MLabel; | 17 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))); | 563 EXPECT_EQ(s.ToVreg(context2), s.ToVreg(call_instr->InputAt(12))); |
564 // Continuation. | 564 // Continuation. |
565 | 565 |
566 EXPECT_EQ(kArchRet, s[index++]->arch_opcode()); | 566 EXPECT_EQ(kArchRet, s[index++]->arch_opcode()); |
567 EXPECT_EQ(index, s.size()); | 567 EXPECT_EQ(index, s.size()); |
568 } | 568 } |
569 | 569 |
570 } // namespace compiler | 570 } // namespace compiler |
571 } // namespace internal | 571 } // namespace internal |
572 } // namespace v8 | 572 } // namespace v8 |
OLD | NEW |