| 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 "v8.h" | 5 #include "v8.h" |
| 6 | 6 |
| 7 #include "lithium-allocator-inl.h" | 7 #include "lithium-allocator-inl.h" |
| 8 #include "arm/lithium-arm.h" | 8 #include "arm/lithium-arm.h" |
| 9 #include "arm/lithium-codegen-arm.h" | 9 #include "arm/lithium-codegen-arm.h" |
| 10 #include "hydrogen-osr.h" | 10 #include "hydrogen-osr.h" |
| (...skipping 2271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2282 } else { | 2282 } else { |
| 2283 LOperand* object = UseFixed(instr->object(), r0); | 2283 LOperand* object = UseFixed(instr->object(), r0); |
| 2284 LOperand* context = UseFixed(instr->context(), cp); | 2284 LOperand* context = UseFixed(instr->context(), cp); |
| 2285 LTransitionElementsKind* result = | 2285 LTransitionElementsKind* result = |
| 2286 new(zone()) LTransitionElementsKind(object, context, NULL); | 2286 new(zone()) LTransitionElementsKind(object, context, NULL); |
| 2287 return MarkAsCall(result, instr); | 2287 return MarkAsCall(result, instr); |
| 2288 } | 2288 } |
| 2289 } | 2289 } |
| 2290 | 2290 |
| 2291 | 2291 |
| 2292 LInstruction* LChunkBuilder::DoArrayShift(HArrayShift* instr) { | |
| 2293 LOperand* object = UseFixed(instr->object(), r0); | |
| 2294 LOperand* context = UseFixed(instr->context(), cp); | |
| 2295 LArrayShift* result = new(zone()) LArrayShift(context, object); | |
| 2296 return MarkAsCall(DefineFixed(result, r0), instr, CANNOT_DEOPTIMIZE_EAGERLY); | |
| 2297 } | |
| 2298 | |
| 2299 | |
| 2300 LInstruction* LChunkBuilder::DoTrapAllocationMemento( | 2292 LInstruction* LChunkBuilder::DoTrapAllocationMemento( |
| 2301 HTrapAllocationMemento* instr) { | 2293 HTrapAllocationMemento* instr) { |
| 2302 LOperand* object = UseRegister(instr->object()); | 2294 LOperand* object = UseRegister(instr->object()); |
| 2303 LOperand* temp = TempRegister(); | 2295 LOperand* temp = TempRegister(); |
| 2304 LTrapAllocationMemento* result = | 2296 LTrapAllocationMemento* result = |
| 2305 new(zone()) LTrapAllocationMemento(object, temp); | 2297 new(zone()) LTrapAllocationMemento(object, temp); |
| 2306 return AssignEnvironment(result); | 2298 return AssignEnvironment(result); |
| 2307 } | 2299 } |
| 2308 | 2300 |
| 2309 | 2301 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2589 | 2581 |
| 2590 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2582 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2591 LOperand* object = UseRegister(instr->object()); | 2583 LOperand* object = UseRegister(instr->object()); |
| 2592 LOperand* index = UseTempRegister(instr->index()); | 2584 LOperand* index = UseTempRegister(instr->index()); |
| 2593 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); | 2585 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); |
| 2594 LInstruction* result = DefineSameAsFirst(load); | 2586 LInstruction* result = DefineSameAsFirst(load); |
| 2595 return AssignPointerMap(result); | 2587 return AssignPointerMap(result); |
| 2596 } | 2588 } |
| 2597 | 2589 |
| 2598 } } // namespace v8::internal | 2590 } } // namespace v8::internal |
| OLD | NEW |