| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/ppc/lithium-ppc.h" | 5 #include "src/crankshaft/ppc/lithium-ppc.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/crankshaft/hydrogen-osr.h" | 9 #include "src/crankshaft/hydrogen-osr.h" |
| 10 #include "src/crankshaft/lithium-inl.h" | 10 #include "src/crankshaft/lithium-inl.h" |
| (...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 LOperand* context = UseFixed(instr->context(), cp); | 988 LOperand* context = UseFixed(instr->context(), cp); |
| 989 LInstanceOf* result = new (zone()) LInstanceOf(context, left, right); | 989 LInstanceOf* result = new (zone()) LInstanceOf(context, left, right); |
| 990 return MarkAsCall(DefineFixed(result, r3), instr); | 990 return MarkAsCall(DefineFixed(result, r3), instr); |
| 991 } | 991 } |
| 992 | 992 |
| 993 | 993 |
| 994 LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( | 994 LInstruction* LChunkBuilder::DoHasInPrototypeChainAndBranch( |
| 995 HHasInPrototypeChainAndBranch* instr) { | 995 HHasInPrototypeChainAndBranch* instr) { |
| 996 LOperand* object = UseRegister(instr->object()); | 996 LOperand* object = UseRegister(instr->object()); |
| 997 LOperand* prototype = UseRegister(instr->prototype()); | 997 LOperand* prototype = UseRegister(instr->prototype()); |
| 998 return new (zone()) LHasInPrototypeChainAndBranch(object, prototype); | 998 LHasInPrototypeChainAndBranch* result = |
| 999 new (zone()) LHasInPrototypeChainAndBranch(object, prototype); |
| 1000 return AssignEnvironment(result); |
| 999 } | 1001 } |
| 1000 | 1002 |
| 1001 | 1003 |
| 1002 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 1004 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
| 1003 LOperand* receiver = UseRegisterAtStart(instr->receiver()); | 1005 LOperand* receiver = UseRegisterAtStart(instr->receiver()); |
| 1004 LOperand* function = UseRegisterAtStart(instr->function()); | 1006 LOperand* function = UseRegisterAtStart(instr->function()); |
| 1005 LWrapReceiver* result = new (zone()) LWrapReceiver(receiver, function); | 1007 LWrapReceiver* result = new (zone()) LWrapReceiver(receiver, function); |
| 1006 return AssignEnvironment(DefineAsRegister(result)); | 1008 return AssignEnvironment(DefineAsRegister(result)); |
| 1007 } | 1009 } |
| 1008 | 1010 |
| (...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2581 LInstruction* LChunkBuilder::DoAllocateBlockContext( | 2583 LInstruction* LChunkBuilder::DoAllocateBlockContext( |
| 2582 HAllocateBlockContext* instr) { | 2584 HAllocateBlockContext* instr) { |
| 2583 LOperand* context = UseFixed(instr->context(), cp); | 2585 LOperand* context = UseFixed(instr->context(), cp); |
| 2584 LOperand* function = UseRegisterAtStart(instr->function()); | 2586 LOperand* function = UseRegisterAtStart(instr->function()); |
| 2585 LAllocateBlockContext* result = | 2587 LAllocateBlockContext* result = |
| 2586 new (zone()) LAllocateBlockContext(context, function); | 2588 new (zone()) LAllocateBlockContext(context, function); |
| 2587 return MarkAsCall(DefineFixed(result, cp), instr); | 2589 return MarkAsCall(DefineFixed(result, cp), instr); |
| 2588 } | 2590 } |
| 2589 } // namespace internal | 2591 } // namespace internal |
| 2590 } // namespace v8 | 2592 } // namespace v8 |
| OLD | NEW |