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