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/s390/lithium-s390.h" | 5 #include "src/crankshaft/s390/lithium-s390.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 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2056 LOperand* context = UseFixed(instr->context(), cp); | 2056 LOperand* context = UseFixed(instr->context(), cp); |
2057 LTransitionElementsKind* result = | 2057 LTransitionElementsKind* result = |
2058 new (zone()) LTransitionElementsKind(object, context, NULL); | 2058 new (zone()) LTransitionElementsKind(object, context, NULL); |
2059 return MarkAsCall(result, instr); | 2059 return MarkAsCall(result, instr); |
2060 } | 2060 } |
2061 } | 2061 } |
2062 | 2062 |
2063 LInstruction* LChunkBuilder::DoTrapAllocationMemento( | 2063 LInstruction* LChunkBuilder::DoTrapAllocationMemento( |
2064 HTrapAllocationMemento* instr) { | 2064 HTrapAllocationMemento* instr) { |
2065 LOperand* object = UseRegister(instr->object()); | 2065 LOperand* object = UseRegister(instr->object()); |
2066 LOperand* temp = TempRegister(); | 2066 LOperand* temp1 = TempRegister(); |
| 2067 LOperand* temp2 = TempRegister(); |
2067 LTrapAllocationMemento* result = | 2068 LTrapAllocationMemento* result = |
2068 new (zone()) LTrapAllocationMemento(object, temp); | 2069 new (zone()) LTrapAllocationMemento(object, temp1, temp2); |
2069 return AssignEnvironment(result); | 2070 return AssignEnvironment(result); |
2070 } | 2071 } |
2071 | 2072 |
2072 LInstruction* LChunkBuilder::DoMaybeGrowElements(HMaybeGrowElements* instr) { | 2073 LInstruction* LChunkBuilder::DoMaybeGrowElements(HMaybeGrowElements* instr) { |
2073 info()->MarkAsDeferredCalling(); | 2074 info()->MarkAsDeferredCalling(); |
2074 LOperand* context = UseFixed(instr->context(), cp); | 2075 LOperand* context = UseFixed(instr->context(), cp); |
2075 LOperand* object = Use(instr->object()); | 2076 LOperand* object = Use(instr->object()); |
2076 LOperand* elements = Use(instr->elements()); | 2077 LOperand* elements = Use(instr->elements()); |
2077 LOperand* key = UseRegisterOrConstant(instr->key()); | 2078 LOperand* key = UseRegisterOrConstant(instr->key()); |
2078 LOperand* current_capacity = UseRegisterOrConstant(instr->current_capacity()); | 2079 LOperand* current_capacity = UseRegisterOrConstant(instr->current_capacity()); |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2313 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2314 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2314 LOperand* object = UseRegister(instr->object()); | 2315 LOperand* object = UseRegister(instr->object()); |
2315 LOperand* index = UseTempRegister(instr->index()); | 2316 LOperand* index = UseTempRegister(instr->index()); |
2316 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); | 2317 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); |
2317 LInstruction* result = DefineSameAsFirst(load); | 2318 LInstruction* result = DefineSameAsFirst(load); |
2318 return AssignPointerMap(result); | 2319 return AssignPointerMap(result); |
2319 } | 2320 } |
2320 | 2321 |
2321 } // namespace internal | 2322 } // namespace internal |
2322 } // namespace v8 | 2323 } // namespace v8 |
OLD | NEW |