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/crankshaft/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/crankshaft/hydrogen-osr.h" | 9 #include "src/crankshaft/hydrogen-osr.h" |
10 #include "src/crankshaft/lithium-inl.h" | 10 #include "src/crankshaft/lithium-inl.h" |
(...skipping 2466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2477 LTypeof* result = new (zone()) LTypeof(context, value); | 2477 LTypeof* result = new (zone()) LTypeof(context, value); |
2478 return MarkAsCall(DefineFixed(result, r3), instr); | 2478 return MarkAsCall(DefineFixed(result, r3), instr); |
2479 } | 2479 } |
2480 | 2480 |
2481 | 2481 |
2482 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2482 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
2483 return new (zone()) LTypeofIsAndBranch(UseRegister(instr->value())); | 2483 return new (zone()) LTypeofIsAndBranch(UseRegister(instr->value())); |
2484 } | 2484 } |
2485 | 2485 |
2486 | 2486 |
2487 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( | |
2488 HIsConstructCallAndBranch* instr) { | |
2489 return new (zone()) LIsConstructCallAndBranch(TempRegister()); | |
2490 } | |
2491 | |
2492 | |
2493 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { | 2487 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { |
2494 instr->ReplayEnvironment(current_block_->last_environment()); | 2488 instr->ReplayEnvironment(current_block_->last_environment()); |
2495 return NULL; | 2489 return NULL; |
2496 } | 2490 } |
2497 | 2491 |
2498 | 2492 |
2499 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { | 2493 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { |
2500 if (instr->is_function_entry()) { | 2494 if (instr->is_function_entry()) { |
2501 LOperand* context = UseFixed(instr->context(), cp); | 2495 LOperand* context = UseFixed(instr->context(), cp); |
2502 return MarkAsCall(new (zone()) LStackCheck(context), instr); | 2496 return MarkAsCall(new (zone()) LStackCheck(context), instr); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2587 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2581 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
2588 HAllocateBlockContext* instr) { | 2582 HAllocateBlockContext* instr) { |
2589 LOperand* context = UseFixed(instr->context(), cp); | 2583 LOperand* context = UseFixed(instr->context(), cp); |
2590 LOperand* function = UseRegisterAtStart(instr->function()); | 2584 LOperand* function = UseRegisterAtStart(instr->function()); |
2591 LAllocateBlockContext* result = | 2585 LAllocateBlockContext* result = |
2592 new (zone()) LAllocateBlockContext(context, function); | 2586 new (zone()) LAllocateBlockContext(context, function); |
2593 return MarkAsCall(DefineFixed(result, cp), instr); | 2587 return MarkAsCall(DefineFixed(result, cp), instr); |
2594 } | 2588 } |
2595 } // namespace internal | 2589 } // namespace internal |
2596 } // namespace v8 | 2590 } // namespace v8 |
OLD | NEW |