| 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 "src/crankshaft/arm64/lithium-arm64.h" | 5 #include "src/crankshaft/arm64/lithium-arm64.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" | 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" |
| 10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 | 812 |
| 813 LOperand* context = UseFixed(instr->context(), cp); | 813 LOperand* context = UseFixed(instr->context(), cp); |
| 814 LOperand* left_operand = UseFixed(left, x1); | 814 LOperand* left_operand = UseFixed(left, x1); |
| 815 LOperand* right_operand = UseFixed(right, x0); | 815 LOperand* right_operand = UseFixed(right, x0); |
| 816 LArithmeticT* result = | 816 LArithmeticT* result = |
| 817 new(zone()) LArithmeticT(op, context, left_operand, right_operand); | 817 new(zone()) LArithmeticT(op, context, left_operand, right_operand); |
| 818 return MarkAsCall(DefineFixed(result, x0), instr); | 818 return MarkAsCall(DefineFixed(result, x0), instr); |
| 819 } | 819 } |
| 820 | 820 |
| 821 | 821 |
| 822 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | |
| 823 HBoundsCheckBaseIndexInformation* instr) { | |
| 824 UNREACHABLE(); | |
| 825 return NULL; | |
| 826 } | |
| 827 | |
| 828 | |
| 829 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { | 822 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { |
| 830 info()->MarkAsRequiresFrame(); | 823 info()->MarkAsRequiresFrame(); |
| 831 LOperand* args = NULL; | 824 LOperand* args = NULL; |
| 832 LOperand* length = NULL; | 825 LOperand* length = NULL; |
| 833 LOperand* index = NULL; | 826 LOperand* index = NULL; |
| 834 | 827 |
| 835 if (instr->length()->IsConstant() && instr->index()->IsConstant()) { | 828 if (instr->length()->IsConstant() && instr->index()->IsConstant()) { |
| 836 args = UseRegisterAtStart(instr->arguments()); | 829 args = UseRegisterAtStart(instr->arguments()); |
| 837 length = UseConstant(instr->length()); | 830 length = UseConstant(instr->length()); |
| 838 index = UseConstant(instr->index()); | 831 index = UseConstant(instr->index()); |
| (...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2665 | 2658 |
| 2666 | 2659 |
| 2667 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { | 2660 LInstruction* LChunkBuilder::DoStoreFrameContext(HStoreFrameContext* instr) { |
| 2668 LOperand* context = UseRegisterAtStart(instr->context()); | 2661 LOperand* context = UseRegisterAtStart(instr->context()); |
| 2669 return new(zone()) LStoreFrameContext(context); | 2662 return new(zone()) LStoreFrameContext(context); |
| 2670 } | 2663 } |
| 2671 | 2664 |
| 2672 | 2665 |
| 2673 } // namespace internal | 2666 } // namespace internal |
| 2674 } // namespace v8 | 2667 } // namespace v8 |
| OLD | NEW |