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 "src/arm/interface-descriptors-arm.h" | 5 #include "src/arm/interface-descriptors-arm.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 156 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
157 CallInterfaceDescriptorData* data) { | 157 CallInterfaceDescriptorData* data) { |
158 Register registers[] = {r1, r3}; | 158 Register registers[] = {r1, r3}; |
159 data->InitializePlatformSpecific(arraysize(registers), registers); | 159 data->InitializePlatformSpecific(arraysize(registers), registers); |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 163 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
164 CallInterfaceDescriptorData* data) { | 164 CallInterfaceDescriptorData* data) { |
165 Register registers[] = {r1, r3, r2}; | 165 Register registers[] = {r1, r0, r3, r2}; |
166 data->InitializePlatformSpecific(arraysize(registers), registers); | 166 data->InitializePlatformSpecific(arraysize(registers), registers); |
167 } | 167 } |
168 | 168 |
169 | 169 |
170 void CallConstructDescriptor::InitializePlatformSpecific( | 170 void CallConstructDescriptor::InitializePlatformSpecific( |
171 CallInterfaceDescriptorData* data) { | 171 CallInterfaceDescriptorData* data) { |
172 // r0 : number of arguments | 172 // r0 : number of arguments |
173 // r1 : the function to call | 173 // r1 : the function to call |
174 // r2 : feedback vector | 174 // r2 : feedback vector |
175 // r3 : slot in feedback vector (Smi, for RecordCallTarget) | 175 // r3 : slot in feedback vector (Smi, for RecordCallTarget) |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 r1, // the JSGeneratorObject to resume | 444 r1, // the JSGeneratorObject to resume |
445 r2 // the resume mode (tagged) | 445 r2 // the resume mode (tagged) |
446 }; | 446 }; |
447 data->InitializePlatformSpecific(arraysize(registers), registers); | 447 data->InitializePlatformSpecific(arraysize(registers), registers); |
448 } | 448 } |
449 | 449 |
450 } // namespace internal | 450 } // namespace internal |
451 } // namespace v8 | 451 } // namespace v8 |
452 | 452 |
453 #endif // V8_TARGET_ARCH_ARM | 453 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |