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/hydrogen-osr.h" |
7 #include "src/lithium-allocator-inl.h" | 8 #include "src/lithium-allocator-inl.h" |
| 9 #include "src/mips/lithium-codegen-mips.h" |
8 #include "src/mips/lithium-mips.h" | 10 #include "src/mips/lithium-mips.h" |
9 #include "src/mips/lithium-codegen-mips.h" | |
10 #include "src/hydrogen-osr.h" | |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 #define DEFINE_COMPILE(type) \ | 15 #define DEFINE_COMPILE(type) \ |
16 void L##type::CompileToNative(LCodeGen* generator) { \ | 16 void L##type::CompileToNative(LCodeGen* generator) { \ |
17 generator->Do##type(this); \ | 17 generator->Do##type(this); \ |
18 } | 18 } |
19 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) | 19 LITHIUM_CONCRETE_INSTRUCTION_LIST(DEFINE_COMPILE) |
20 #undef DEFINE_COMPILE | 20 #undef DEFINE_COMPILE |
(...skipping 2515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2536 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2536 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2537 HAllocateBlockContext* instr) { | 2537 HAllocateBlockContext* instr) { |
2538 LOperand* context = UseFixed(instr->context(), cp); | 2538 LOperand* context = UseFixed(instr->context(), cp); |
2539 LOperand* function = UseRegisterAtStart(instr->function()); | 2539 LOperand* function = UseRegisterAtStart(instr->function()); |
2540 LAllocateBlockContext* result = | 2540 LAllocateBlockContext* result = |
2541 new(zone()) LAllocateBlockContext(context, function); | 2541 new(zone()) LAllocateBlockContext(context, function); |
2542 return MarkAsCall(DefineFixed(result, cp), instr); | 2542 return MarkAsCall(DefineFixed(result, cp), instr); |
2543 } | 2543 } |
2544 | 2544 |
2545 } } // namespace v8::internal | 2545 } } // namespace v8::internal |
OLD | NEW |