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/x64/lithium-x64.h" | 5 #include "src/crankshaft/x64/lithium-x64.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #if V8_TARGET_ARCH_X64 | 9 #if V8_TARGET_ARCH_X64 |
10 | 10 |
11 #include "src/hydrogen-osr.h" | 11 #include "src/crankshaft/hydrogen-osr.h" |
12 #include "src/lithium-inl.h" | 12 #include "src/crankshaft/lithium-inl.h" |
13 #include "src/x64/lithium-codegen-x64.h" | 13 #include "src/crankshaft/x64/lithium-codegen-x64.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 #define DEFINE_COMPILE(type) \ | 18 #define DEFINE_COMPILE(type) \ |
19 void L##type::CompileToNative(LCodeGen* generator) { \ | 19 void L##type::CompileToNative(LCodeGen* generator) { \ |
20 generator->Do##type(this); \ | 20 generator->Do##type(this); \ |
21 } | 21 } |
22 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 22 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
23 #undef DEFINE_COMPILE | 23 #undef DEFINE_COMPILE |
(...skipping 2715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2739 LAllocateBlockContext* result = | 2739 LAllocateBlockContext* result = |
2740 new(zone()) LAllocateBlockContext(context, function); | 2740 new(zone()) LAllocateBlockContext(context, function); |
2741 return MarkAsCall(DefineFixed(result, rsi), instr); | 2741 return MarkAsCall(DefineFixed(result, rsi), instr); |
2742 } | 2742 } |
2743 | 2743 |
2744 | 2744 |
2745 } // namespace internal | 2745 } // namespace internal |
2746 } // namespace v8 | 2746 } // namespace v8 |
2747 | 2747 |
2748 #endif // V8_TARGET_ARCH_X64 | 2748 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |