OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 "arm64/lithium-arm64.h" | 8 #include "arm64/lithium-arm64.h" |
9 #include "arm64/lithium-codegen-arm64.h" | 9 #include "arm64/lithium-codegen-arm64.h" |
10 #include "hydrogen-osr.h" | 10 #include "hydrogen-osr.h" |
(...skipping 2505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2516 } else { | 2516 } else { |
2517 LOperand* object = UseFixed(instr->object(), x0); | 2517 LOperand* object = UseFixed(instr->object(), x0); |
2518 LOperand* context = UseFixed(instr->context(), cp); | 2518 LOperand* context = UseFixed(instr->context(), cp); |
2519 LTransitionElementsKind* result = | 2519 LTransitionElementsKind* result = |
2520 new(zone()) LTransitionElementsKind(object, context, NULL, NULL); | 2520 new(zone()) LTransitionElementsKind(object, context, NULL, NULL); |
2521 return MarkAsCall(result, instr); | 2521 return MarkAsCall(result, instr); |
2522 } | 2522 } |
2523 } | 2523 } |
2524 | 2524 |
2525 | 2525 |
2526 LInstruction* LChunkBuilder::DoArrayShift(HArrayShift* instr) { | |
2527 LOperand* object = UseFixed(instr->object(), x0); | |
2528 LOperand* context = UseFixed(instr->context(), cp); | |
2529 LArrayShift* result = new(zone()) LArrayShift(context, object); | |
2530 return MarkAsCall(DefineFixed(result, x0), instr, CANNOT_DEOPTIMIZE_EAGERLY); | |
2531 } | |
2532 | |
2533 | |
2534 LInstruction* LChunkBuilder::DoTrapAllocationMemento( | 2526 LInstruction* LChunkBuilder::DoTrapAllocationMemento( |
2535 HTrapAllocationMemento* instr) { | 2527 HTrapAllocationMemento* instr) { |
2536 LOperand* object = UseRegister(instr->object()); | 2528 LOperand* object = UseRegister(instr->object()); |
2537 LOperand* temp1 = TempRegister(); | 2529 LOperand* temp1 = TempRegister(); |
2538 LOperand* temp2 = TempRegister(); | 2530 LOperand* temp2 = TempRegister(); |
2539 LTrapAllocationMemento* result = | 2531 LTrapAllocationMemento* result = |
2540 new(zone()) LTrapAllocationMemento(object, temp1, temp2); | 2532 new(zone()) LTrapAllocationMemento(object, temp1, temp2); |
2541 return AssignEnvironment(result); | 2533 return AssignEnvironment(result); |
2542 } | 2534 } |
2543 | 2535 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2717 | 2709 |
2718 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { | 2710 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { |
2719 LOperand* receiver = UseRegister(instr->receiver()); | 2711 LOperand* receiver = UseRegister(instr->receiver()); |
2720 LOperand* function = UseRegister(instr->function()); | 2712 LOperand* function = UseRegister(instr->function()); |
2721 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); | 2713 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); |
2722 return AssignEnvironment(DefineAsRegister(result)); | 2714 return AssignEnvironment(DefineAsRegister(result)); |
2723 } | 2715 } |
2724 | 2716 |
2725 | 2717 |
2726 } } // namespace v8::internal | 2718 } } // namespace v8::internal |
OLD | NEW |