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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 // r2 : feedback vector | 185 // r2 : feedback vector |
186 // r3 : slot in feedback vector (Smi, for RecordCallTarget) | 186 // r3 : slot in feedback vector (Smi, for RecordCallTarget) |
187 // r4 : original constructor (for IsSuperConstructorCall) | 187 // r4 : original constructor (for IsSuperConstructorCall) |
188 // TODO(turbofan): So far we don't gather type feedback and hence skip the | 188 // TODO(turbofan): So far we don't gather type feedback and hence skip the |
189 // slot parameter, but ArrayConstructStub needs the vector to be undefined. | 189 // slot parameter, but ArrayConstructStub needs the vector to be undefined. |
190 Register registers[] = {r0, r1, r4, r2}; | 190 Register registers[] = {r0, r1, r4, r2}; |
191 data->InitializePlatformSpecific(arraysize(registers), registers); | 191 data->InitializePlatformSpecific(arraysize(registers), registers); |
192 } | 192 } |
193 | 193 |
194 | 194 |
195 void CallTrampolineDescriptor::InitializePlatformSpecific( | |
196 CallInterfaceDescriptorData* data) { | |
Camillo Bruni
2015/09/08 11:19:13
// r1: target
// r0: number of arguments
Benedikt Meurer
2015/09/08 13:08:58
Done.
| |
197 Register registers[] = {r1, r0}; | |
198 data->InitializePlatformSpecific(arraysize(registers), registers); | |
199 } | |
200 | |
201 | |
195 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | 202 void RegExpConstructResultDescriptor::InitializePlatformSpecific( |
196 CallInterfaceDescriptorData* data) { | 203 CallInterfaceDescriptorData* data) { |
197 Register registers[] = {r2, r1, r0}; | 204 Register registers[] = {r2, r1, r0}; |
198 data->InitializePlatformSpecific(arraysize(registers), registers); | 205 data->InitializePlatformSpecific(arraysize(registers), registers); |
199 } | 206 } |
200 | 207 |
201 | 208 |
202 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 209 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
203 CallInterfaceDescriptorData* data) { | 210 CallInterfaceDescriptorData* data) { |
204 Register registers[] = {r0, r1}; | 211 Register registers[] = {r0, r1}; |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
394 r1, // math rounding function | 401 r1, // math rounding function |
395 r3, // vector slot id | 402 r3, // vector slot id |
396 r4, // type vector | 403 r4, // type vector |
397 }; | 404 }; |
398 data->InitializePlatformSpecific(arraysize(registers), registers); | 405 data->InitializePlatformSpecific(arraysize(registers), registers); |
399 } | 406 } |
400 } // namespace internal | 407 } // namespace internal |
401 } // namespace v8 | 408 } // namespace v8 |
402 | 409 |
403 #endif // V8_TARGET_ARCH_ARM | 410 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |