| 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_MIPS |
| 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/mips/lithium-codegen-mips.h" | 11 #include "src/mips/lithium-codegen-mips.h" |
| 10 #include "src/mips/lithium-mips.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 2546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2567 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2568 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
| 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 } } // namespace v8::internal | 2577 } } // namespace v8::internal |
| 2578 |
| 2579 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |