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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
10 #include "src/ia32/lithium-codegen-ia32.h" | 10 #include "src/ia32/lithium-codegen-ia32.h" |
11 #include "src/ia32/lithium-ia32.h" | 11 #include "src/lithium-inl.h" |
12 #include "src/lithium-allocator-inl.h" | |
13 | 12 |
14 namespace v8 { | 13 namespace v8 { |
15 namespace internal { | 14 namespace internal { |
16 | 15 |
17 #define DEFINE_COMPILE(type) \ | 16 #define DEFINE_COMPILE(type) \ |
18 void L##type::CompileToNative(LCodeGen* generator) { \ | 17 void L##type::CompileToNative(LCodeGen* generator) { \ |
19 generator->Do##type(this); \ | 18 generator->Do##type(this); \ |
20 } | 19 } |
21 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 20 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
22 #undef DEFINE_COMPILE | 21 #undef DEFINE_COMPILE |
(...skipping 2675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2698 LOperand* function = UseRegisterAtStart(instr->function()); | 2697 LOperand* function = UseRegisterAtStart(instr->function()); |
2699 LAllocateBlockContext* result = | 2698 LAllocateBlockContext* result = |
2700 new(zone()) LAllocateBlockContext(context, function); | 2699 new(zone()) LAllocateBlockContext(context, function); |
2701 return MarkAsCall(DefineFixed(result, esi), instr); | 2700 return MarkAsCall(DefineFixed(result, esi), instr); |
2702 } | 2701 } |
2703 | 2702 |
2704 | 2703 |
2705 } } // namespace v8::internal | 2704 } } // namespace v8::internal |
2706 | 2705 |
2707 #endif // V8_TARGET_ARCH_IA32 | 2706 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |