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/crankshaft/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 |
(...skipping 2460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2471 LTypeof* result = new (zone()) LTypeof(context, value); | 2471 LTypeof* result = new (zone()) LTypeof(context, value); |
2472 return MarkAsCall(DefineFixed(result, v0), instr); | 2472 return MarkAsCall(DefineFixed(result, v0), instr); |
2473 } | 2473 } |
2474 | 2474 |
2475 | 2475 |
2476 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2476 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
2477 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); | 2477 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); |
2478 } | 2478 } |
2479 | 2479 |
2480 | 2480 |
2481 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( | |
2482 HIsConstructCallAndBranch* instr) { | |
2483 return new(zone()) LIsConstructCallAndBranch(TempRegister()); | |
2484 } | |
2485 | |
2486 | |
2487 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { | 2481 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { |
2488 instr->ReplayEnvironment(current_block_->last_environment()); | 2482 instr->ReplayEnvironment(current_block_->last_environment()); |
2489 return NULL; | 2483 return NULL; |
2490 } | 2484 } |
2491 | 2485 |
2492 | 2486 |
2493 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { | 2487 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { |
2494 if (instr->is_function_entry()) { | 2488 if (instr->is_function_entry()) { |
2495 LOperand* context = UseFixed(instr->context(), cp); | 2489 LOperand* context = UseFixed(instr->context(), cp); |
2496 return MarkAsCall(new(zone()) LStackCheck(context), instr); | 2490 return MarkAsCall(new(zone()) LStackCheck(context), instr); |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2586 LOperand* function = UseRegisterAtStart(instr->function()); | 2580 LOperand* function = UseRegisterAtStart(instr->function()); |
2587 LAllocateBlockContext* result = | 2581 LAllocateBlockContext* result = |
2588 new(zone()) LAllocateBlockContext(context, function); | 2582 new(zone()) LAllocateBlockContext(context, function); |
2589 return MarkAsCall(DefineFixed(result, cp), instr); | 2583 return MarkAsCall(DefineFixed(result, cp), instr); |
2590 } | 2584 } |
2591 | 2585 |
2592 } // namespace internal | 2586 } // namespace internal |
2593 } // namespace v8 | 2587 } // namespace v8 |
2594 | 2588 |
2595 #endif // V8_TARGET_ARCH_MIPS | 2589 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |