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/arm/lithium-arm.h" | 5 #include "src/crankshaft/arm/lithium-arm.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/crankshaft/arm/lithium-codegen-arm.h" | 9 #include "src/crankshaft/arm/lithium-codegen-arm.h" |
10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 LOperand* context = UseFixed(instr->context(), cp); | 974 LOperand* context = UseFixed(instr->context(), cp); |
975 LInstanceOf* result = new (zone()) LInstanceOf(context, left, right); | 975 LInstanceOf* result = new (zone()) LInstanceOf(context, left, right); |
976 return MarkAsCall(DefineFixed(result, r0), instr); | 976 return MarkAsCall(DefineFixed(result, r0), instr); |
977 } | 977 } |
978 | 978 |
979 | 979 |
980 LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( | 980 LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( |
981 HHasInPrototypeChainAndBranch* instr) { | 981 HHasInPrototypeChainAndBranch* instr) { |
982 LOperand* object = UseRegister(instr->object()); | 982 LOperand* object = UseRegister(instr->object()); |
983 LOperand* prototype = UseRegister(instr->prototype()); | 983 LOperand* prototype = UseRegister(instr->prototype()); |
984 return new (zone()) LHasInPrototypeChainAndBranch(object, prototype); | 984 LHasInPrototypeChainAndBranch* result = |
| 985 new (zone()) LHasInPrototypeChainAndBranch(object, prototype); |
| 986 return AssignEnvironment(result); |
985 } | 987 } |
986 | 988 |
987 | 989 |
988 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 990 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
989 LOperand* receiver = UseRegisterAtStart(instr->receiver()); | 991 LOperand* receiver = UseRegisterAtStart(instr->receiver()); |
990 LOperand* function = UseRegisterAtStart(instr->function()); | 992 LOperand* function = UseRegisterAtStart(instr->function()); |
991 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 993 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
992 return AssignEnvironment(DefineAsRegister(result)); | 994 return AssignEnvironment(DefineAsRegister(result)); |
993 } | 995 } |
994 | 996 |
(...skipping 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2630 HAllocateBlockContext* instr) { | 2632 HAllocateBlockContext* instr) { |
2631 LOperand* context = UseFixed(instr->context(), cp); | 2633 LOperand* context = UseFixed(instr->context(), cp); |
2632 LOperand* function = UseRegisterAtStart(instr->function()); | 2634 LOperand* function = UseRegisterAtStart(instr->function()); |
2633 LAllocateBlockContext* result = | 2635 LAllocateBlockContext* result = |
2634 new(zone()) LAllocateBlockContext(context, function); | 2636 new(zone()) LAllocateBlockContext(context, function); |
2635 return MarkAsCall(DefineFixed(result, cp), instr); | 2637 return MarkAsCall(DefineFixed(result, cp), instr); |
2636 } | 2638 } |
2637 | 2639 |
2638 } // namespace internal | 2640 } // namespace internal |
2639 } // namespace v8 | 2641 } // namespace v8 |
OLD | NEW |