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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/arm64/lithium-codegen-arm64.h" | 7 #include "src/arm64/lithium-codegen-arm64.h" |
8 #include "src/hydrogen-osr.h" | 8 #include "src/hydrogen-osr.h" |
9 #include "src/lithium-inl.h" | 9 #include "src/lithium-inl.h" |
10 | 10 |
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 LOperand* function = UseFixed(instr->function(), x1); | 1029 LOperand* function = UseFixed(instr->function(), x1); |
1030 | 1030 |
1031 LCallJSFunction* result = new(zone()) LCallJSFunction(function); | 1031 LCallJSFunction* result = new(zone()) LCallJSFunction(function); |
1032 | 1032 |
1033 return MarkAsCall(DefineFixed(result, x0), instr); | 1033 return MarkAsCall(DefineFixed(result, x0), instr); |
1034 } | 1034 } |
1035 | 1035 |
1036 | 1036 |
1037 LInstruction* LChunkBuilder::DoCallWithDescriptor( | 1037 LInstruction* LChunkBuilder::DoCallWithDescriptor( |
1038 HCallWithDescriptor* instr) { | 1038 HCallWithDescriptor* instr) { |
1039 const InterfaceDescriptor* descriptor = instr->descriptor(); | 1039 const CallInterfaceDescriptor* descriptor = instr->descriptor(); |
1040 | 1040 |
1041 LOperand* target = UseRegisterOrConstantAtStart(instr->target()); | 1041 LOperand* target = UseRegisterOrConstantAtStart(instr->target()); |
1042 ZoneList<LOperand*> ops(instr->OperandCount(), zone()); | 1042 ZoneList<LOperand*> ops(instr->OperandCount(), zone()); |
1043 ops.Add(target, zone()); | 1043 ops.Add(target, zone()); |
1044 for (int i = 1; i < instr->OperandCount(); i++) { | 1044 for (int i = 1; i < instr->OperandCount(); i++) { |
1045 LOperand* op = UseFixed(instr->OperandAt(i), | 1045 LOperand* op = UseFixed(instr->OperandAt(i), |
1046 descriptor->GetParameterRegister(i - 1)); | 1046 descriptor->GetParameterRegister(i - 1)); |
1047 ops.Add(op, zone()); | 1047 ops.Add(op, zone()); |
1048 } | 1048 } |
1049 | 1049 |
(...skipping 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2736 HAllocateBlockContext* instr) { | 2736 HAllocateBlockContext* instr) { |
2737 LOperand* context = UseFixed(instr->context(), cp); | 2737 LOperand* context = UseFixed(instr->context(), cp); |
2738 LOperand* function = UseRegisterAtStart(instr->function()); | 2738 LOperand* function = UseRegisterAtStart(instr->function()); |
2739 LAllocateBlockContext* result = | 2739 LAllocateBlockContext* result = |
2740 new(zone()) LAllocateBlockContext(context, function); | 2740 new(zone()) LAllocateBlockContext(context, function); |
2741 return MarkAsCall(DefineFixed(result, cp), instr); | 2741 return MarkAsCall(DefineFixed(result, cp), instr); |
2742 } | 2742 } |
2743 | 2743 |
2744 | 2744 |
2745 } } // namespace v8::internal | 2745 } } // namespace v8::internal |
OLD | NEW |