| 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/x87/lithium-x87.h" | 5 #include "src/crankshaft/x87/lithium-x87.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_X87 | 9 #if V8_TARGET_ARCH_X87 |
| 10 | 10 |
| (...skipping 2573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2584 LTypeof* result = new(zone()) LTypeof(context, value); | 2584 LTypeof* result = new(zone()) LTypeof(context, value); |
| 2585 return MarkAsCall(DefineFixed(result, eax), instr); | 2585 return MarkAsCall(DefineFixed(result, eax), instr); |
| 2586 } | 2586 } |
| 2587 | 2587 |
| 2588 | 2588 |
| 2589 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { | 2589 LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) { |
| 2590 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); | 2590 return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->value())); |
| 2591 } | 2591 } |
| 2592 | 2592 |
| 2593 | 2593 |
| 2594 LInstruction* LChunkBuilder::DoIsConstructCallAndBranch( | |
| 2595 HIsConstructCallAndBranch* instr) { | |
| 2596 return new(zone()) LIsConstructCallAndBranch(TempRegister()); | |
| 2597 } | |
| 2598 | |
| 2599 | |
| 2600 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { | 2594 LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { |
| 2601 instr->ReplayEnvironment(current_block_->last_environment()); | 2595 instr->ReplayEnvironment(current_block_->last_environment()); |
| 2602 return NULL; | 2596 return NULL; |
| 2603 } | 2597 } |
| 2604 | 2598 |
| 2605 | 2599 |
| 2606 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { | 2600 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { |
| 2607 info()->MarkAsDeferredCalling(); | 2601 info()->MarkAsDeferredCalling(); |
| 2608 if (instr->is_function_entry()) { | 2602 if (instr->is_function_entry()) { |
| 2609 LOperand* context = UseFixed(instr->context(), esi); | 2603 LOperand* context = UseFixed(instr->context(), esi); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2700 LAllocateBlockContext* result = | 2694 LAllocateBlockContext* result = |
| 2701 new(zone()) LAllocateBlockContext(context, function); | 2695 new(zone()) LAllocateBlockContext(context, function); |
| 2702 return MarkAsCall(DefineFixed(result, esi), instr); | 2696 return MarkAsCall(DefineFixed(result, esi), instr); |
| 2703 } | 2697 } |
| 2704 | 2698 |
| 2705 | 2699 |
| 2706 } // namespace internal | 2700 } // namespace internal |
| 2707 } // namespace v8 | 2701 } // namespace v8 |
| 2708 | 2702 |
| 2709 #endif // V8_TARGET_ARCH_X87 | 2703 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |