OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/ppc/lithium-ppc.h" | 5 #include "src/crankshaft/ppc/lithium-ppc.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/hydrogen-osr.h" | 9 #include "src/crankshaft/hydrogen-osr.h" |
10 #include "src/lithium-inl.h" | 10 #include "src/crankshaft/lithium-inl.h" |
11 #include "src/ppc/lithium-codegen-ppc.h" | 11 #include "src/crankshaft/ppc/lithium-codegen-ppc.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 #define DEFINE_COMPILE(type) \ | 16 #define DEFINE_COMPILE(type) \ |
17 void L##type::CompileToNative(LCodeGen* generator) { \ | 17 void L##type::CompileToNative(LCodeGen* generator) { \ |
18 generator->Do##type(this); \ | 18 generator->Do##type(this); \ |
19 } | 19 } |
20 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 20 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
21 #undef DEFINE_COMPILE | 21 #undef DEFINE_COMPILE |
(...skipping 2620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2642 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2642 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2643 HAllocateBlockContext* instr) { | 2643 HAllocateBlockContext* instr) { |
2644 LOperand* context = UseFixed(instr->context(), cp); | 2644 LOperand* context = UseFixed(instr->context(), cp); |
2645 LOperand* function = UseRegisterAtStart(instr->function()); | 2645 LOperand* function = UseRegisterAtStart(instr->function()); |
2646 LAllocateBlockContext* result = | 2646 LAllocateBlockContext* result = |
2647 new (zone()) LAllocateBlockContext(context, function); | 2647 new (zone()) LAllocateBlockContext(context, function); |
2648 return MarkAsCall(DefineFixed(result, cp), instr); | 2648 return MarkAsCall(DefineFixed(result, cp), instr); |
2649 } | 2649 } |
2650 } // namespace internal | 2650 } // namespace internal |
2651 } // namespace v8 | 2651 } // namespace v8 |
OLD | NEW |