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 #include "src/arm/lithium-arm.h" | |
8 #include "src/arm/lithium-codegen-arm.h" | 7 #include "src/arm/lithium-codegen-arm.h" |
9 #include "src/hydrogen-osr.h" | 8 #include "src/hydrogen-osr.h" |
10 #include "src/lithium-allocator-inl.h" | 9 #include "src/lithium-inl.h" |
11 | 10 |
12 namespace v8 { | 11 namespace v8 { |
13 namespace internal { | 12 namespace internal { |
14 | 13 |
15 #define DEFINE_COMPILE(type) \ | 14 #define DEFINE_COMPILE(type) \ |
16 void L##type::CompileToNative(LCodeGen* generator) { \ | 15 void L##type::CompileToNative(LCodeGen* generator) { \ |
17 generator->Do##type(this); \ | 16 generator->Do##type(this); \ |
18 } | 17 } |
19 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 18 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
20 #undef DEFINE_COMPILE | 19 #undef DEFINE_COMPILE |
(...skipping 2599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2620 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2619 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2621 HAllocateBlockContext* instr) { | 2620 HAllocateBlockContext* instr) { |
2622 LOperand* context = UseFixed(instr->context(), cp); | 2621 LOperand* context = UseFixed(instr->context(), cp); |
2623 LOperand* function = UseRegisterAtStart(instr->function()); | 2622 LOperand* function = UseRegisterAtStart(instr->function()); |
2624 LAllocateBlockContext* result = | 2623 LAllocateBlockContext* result = |
2625 new(zone()) LAllocateBlockContext(context, function); | 2624 new(zone()) LAllocateBlockContext(context, function); |
2626 return MarkAsCall(DefineFixed(result, cp), instr); | 2625 return MarkAsCall(DefineFixed(result, cp), instr); |
2627 } | 2626 } |
2628 | 2627 |
2629 } } // namespace v8::internal | 2628 } } // namespace v8::internal |
OLD | NEW |