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/x87/lithium-x87.h" | 5 #include "src/crankshaft/x87/lithium-x87.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #if V8_TARGET_ARCH_X87 | 9 #if V8_TARGET_ARCH_X87 |
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/x87/lithium-codegen-x87.h" | 13 #include "src/crankshaft/x87/lithium-codegen-x87.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 2734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2758 LAllocateBlockContext* result = | 2758 LAllocateBlockContext* result = |
2759 new(zone()) LAllocateBlockContext(context, function); | 2759 new(zone()) LAllocateBlockContext(context, function); |
2760 return MarkAsCall(DefineFixed(result, esi), instr); | 2760 return MarkAsCall(DefineFixed(result, esi), instr); |
2761 } | 2761 } |
2762 | 2762 |
2763 | 2763 |
2764 } // namespace internal | 2764 } // namespace internal |
2765 } // namespace v8 | 2765 } // namespace v8 |
2766 | 2766 |
2767 #endif // V8_TARGET_ARCH_X87 | 2767 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |