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