OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
8 | 8 |
| 9 #include "src/hydrogen-osr.h" |
9 #include "src/lithium-allocator-inl.h" | 10 #include "src/lithium-allocator-inl.h" |
| 11 #include "src/x64/lithium-codegen-x64.h" |
10 #include "src/x64/lithium-x64.h" | 12 #include "src/x64/lithium-x64.h" |
11 #include "src/x64/lithium-codegen-x64.h" | |
12 #include "src/hydrogen-osr.h" | |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 #define DEFINE_COMPILE(type) \ | 17 #define DEFINE_COMPILE(type) \ |
18 void L##type::CompileToNative(LCodeGen* generator) { \ | 18 void L##type::CompileToNative(LCodeGen* generator) { \ |
19 generator->Do##type(this); \ | 19 generator->Do##type(this); \ |
20 } | 20 } |
21 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 21 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
22 #undef DEFINE_COMPILE | 22 #undef DEFINE_COMPILE |
(...skipping 2607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2630 LOperand* function = UseRegisterAtStart(instr->function()); | 2630 LOperand* function = UseRegisterAtStart(instr->function()); |
2631 LAllocateBlockContext* result = | 2631 LAllocateBlockContext* result = |
2632 new(zone()) LAllocateBlockContext(context, function); | 2632 new(zone()) LAllocateBlockContext(context, function); |
2633 return MarkAsCall(DefineFixed(result, rsi), instr); | 2633 return MarkAsCall(DefineFixed(result, rsi), instr); |
2634 } | 2634 } |
2635 | 2635 |
2636 | 2636 |
2637 } } // namespace v8::internal | 2637 } } // namespace v8::internal |
2638 | 2638 |
2639 #endif // V8_TARGET_ARCH_X64 | 2639 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |