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/mips64/lithium-mips64.h" | 5 #include "src/crankshaft/mips64/lithium-mips64.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
10 | 10 |
(...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2476 LTypeof* result = new (zone()) LTypeof(context, value); | 2476 LTypeof* result = new (zone()) LTypeof(context, value); |
2477 return MarkAsCall(DefineFixed(result, v0), instr); | 2477 return MarkAsCall(DefineFixed(result, v0), instr); |
2478 } | 2478 } |
2479 | 2479 |
2480 | 2480 |
2481 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2481 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
2482 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); | 2482 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); |
2483 } | 2483 } |
2484 | 2484 |
2485 | 2485 |
2486 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( | |
2487 HIsConstructCallAndBranch* instr) { | |
2488 return new(zone()) LIsConstructCallAndBranch(TempRegister()); | |
2489 } | |
2490 | |
2491 | |
2492 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { | 2486 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { |
2493 instr->ReplayEnvironment(current_block_->last_environment()); | 2487 instr->ReplayEnvironment(current_block_->last_environment()); |
2494 return NULL; | 2488 return NULL; |
2495 } | 2489 } |
2496 | 2490 |
2497 | 2491 |
2498 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { | 2492 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { |
2499 if (instr->is_function_entry()) { | 2493 if (instr->is_function_entry()) { |
2500 LOperand* context = UseFixed(instr->context(), cp); | 2494 LOperand* context = UseFixed(instr->context(), cp); |
2501 return MarkAsCall(new(zone()) LStackCheck(context), instr); | 2495 return MarkAsCall(new(zone()) LStackCheck(context), instr); |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 2589 |
2596 | 2590 |
2597 } // namespace internal | 2591 } // namespace internal |
2598 } // namespace v8 | 2592 } // namespace v8 |
2599 | 2593 |
2600 #endif // V8_TARGET_ARCH_MIPS64 | 2594 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |