| 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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 LInstanceOf* result = new (zone()) LInstanceOf(context, left, right); | 1013 LInstanceOf* result = new (zone()) LInstanceOf(context, left, right); |
| 1014 return MarkAsCall(DefineFixed(result, eax), instr); | 1014 return MarkAsCall(DefineFixed(result, eax), instr); |
| 1015 } | 1015 } |
| 1016 | 1016 |
| 1017 | 1017 |
| 1018 LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( | 1018 LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( |
| 1019 HHasInPrototypeChainAndBranch* instr) { | 1019 HHasInPrototypeChainAndBranch* instr) { |
| 1020 LOperand* object = UseRegister(instr->object()); | 1020 LOperand* object = UseRegister(instr->object()); |
| 1021 LOperand* prototype = UseRegister(instr->prototype()); | 1021 LOperand* prototype = UseRegister(instr->prototype()); |
| 1022 LOperand* temp = TempRegister(); | 1022 LOperand* temp = TempRegister(); |
| 1023 return new (zone()) LHasInPrototypeChainAndBranch(object, prototype, temp); | 1023 LHasInPrototypeChainAndBranch* result = |
| 1024 new (zone()) LHasInPrototypeChainAndBranch(object, prototype, temp); |
| 1025 return AssignEnvironment(result); |
| 1024 } | 1026 } |
| 1025 | 1027 |
| 1026 | 1028 |
| 1027 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 1029 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| 1028 LOperand* receiver = UseRegister(instr->receiver()); | 1030 LOperand* receiver = UseRegister(instr->receiver()); |
| 1029 LOperand* function = UseRegister(instr->function()); | 1031 LOperand* function = UseRegister(instr->function()); |
| 1030 LOperand* temp = TempRegister(); | 1032 LOperand* temp = TempRegister(); |
| 1031 LWrapReceiver* result = | 1033 LWrapReceiver* result = |
| 1032 new(zone()) LWrapReceiver(receiver, function, temp); | 1034 new(zone()) LWrapReceiver(receiver, function, temp); |
| 1033 return AssignEnvironment(DefineSameAsFirst(result)); | 1035 return AssignEnvironment(DefineSameAsFirst(result)); |
| (...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2690 LAllocateBlockContext* result = | 2692 LAllocateBlockContext* result = |
| 2691 new(zone()) LAllocateBlockContext(context, function); | 2693 new(zone()) LAllocateBlockContext(context, function); |
| 2692 return MarkAsCall(DefineFixed(result, esi), instr); | 2694 return MarkAsCall(DefineFixed(result, esi), instr); |
| 2693 } | 2695 } |
| 2694 | 2696 |
| 2695 | 2697 |
| 2696 } // namespace internal | 2698 } // namespace internal |
| 2697 } // namespace v8 | 2699 } // namespace v8 |
| 2698 | 2700 |
| 2699 #endif // V8_TARGET_ARCH_IA32 | 2701 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |