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/mips/lithium-mips.h" | 5 #include "src/crankshaft/mips/lithium-mips.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
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/mips/lithium-codegen-mips.h" | 13 #include "src/crankshaft/mips/lithium-codegen-mips.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 2617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2641 LOperand* function = UseRegisterAtStart(instr->function()); | 2641 LOperand* function = UseRegisterAtStart(instr->function()); |
2642 LAllocateBlockContext* result = | 2642 LAllocateBlockContext* result = |
2643 new(zone()) LAllocateBlockContext(context, function); | 2643 new(zone()) LAllocateBlockContext(context, function); |
2644 return MarkAsCall(DefineFixed(result, cp), instr); | 2644 return MarkAsCall(DefineFixed(result, cp), instr); |
2645 } | 2645 } |
2646 | 2646 |
2647 } // namespace internal | 2647 } // namespace internal |
2648 } // namespace v8 | 2648 } // namespace v8 |
2649 | 2649 |
2650 #endif // V8_TARGET_ARCH_MIPS | 2650 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |