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_MIPS64 |
| 8 |
7 #include "src/hydrogen-osr.h" | 9 #include "src/hydrogen-osr.h" |
8 #include "src/lithium-allocator-inl.h" | 10 #include "src/lithium-inl.h" |
9 #include "src/mips64/lithium-codegen-mips64.h" | 11 #include "src/mips64/lithium-codegen-mips64.h" |
10 #include "src/mips64/lithium-mips64.h" | |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 #define DEFINE_COMPILE(type) \ | 16 #define DEFINE_COMPILE(type) \ |
16 void L##type::CompileToNative(LCodeGen* generator) { \ | 17 void L##type::CompileToNative(LCodeGen* generator) { \ |
17 generator->Do##type(this); \ | 18 generator->Do##type(this); \ |
18 } | 19 } |
19 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 20 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
20 #undef DEFINE_COMPILE | 21 #undef DEFINE_COMPILE |
(...skipping 2547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2568 HAllocateBlockContext* instr) { | 2569 HAllocateBlockContext* instr) { |
2569 LOperand* context = UseFixed(instr->context(), cp); | 2570 LOperand* context = UseFixed(instr->context(), cp); |
2570 LOperand* function = UseRegisterAtStart(instr->function()); | 2571 LOperand* function = UseRegisterAtStart(instr->function()); |
2571 LAllocateBlockContext* result = | 2572 LAllocateBlockContext* result = |
2572 new(zone()) LAllocateBlockContext(context, function); | 2573 new(zone()) LAllocateBlockContext(context, function); |
2573 return MarkAsCall(DefineFixed(result, cp), instr); | 2574 return MarkAsCall(DefineFixed(result, cp), instr); |
2574 } | 2575 } |
2575 | 2576 |
2576 | 2577 |
2577 } } // namespace v8::internal | 2578 } } // namespace v8::internal |
| 2579 |
| 2580 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |