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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 } | 279 } |
280 | 280 |
281 | 281 |
282 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 282 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
283 CallInterfaceDescriptorData* data) { | 283 CallInterfaceDescriptorData* data) { |
284 // stack param count needs (constructor pointer, and single argument) | 284 // stack param count needs (constructor pointer, and single argument) |
285 Register registers[] = {r1, r0}; | 285 Register registers[] = {r1, r0}; |
286 data->InitializePlatformSpecific(arraysize(registers), registers); | 286 data->InitializePlatformSpecific(arraysize(registers), registers); |
287 } | 287 } |
288 | 288 |
289 void FastArrayPushDescriptor::InitializePlatformSpecific( | 289 void VarArgFunctionDescriptor::InitializePlatformSpecific( |
290 CallInterfaceDescriptorData* data) { | 290 CallInterfaceDescriptorData* data) { |
291 // stack param count needs (arg count) | 291 // stack param count needs (arg count) |
292 Register registers[] = {r0}; | 292 Register registers[] = {r0}; |
293 data->InitializePlatformSpecific(arraysize(registers), registers); | 293 data->InitializePlatformSpecific(arraysize(registers), registers); |
294 } | 294 } |
295 | 295 |
296 void CompareDescriptor::InitializePlatformSpecific( | 296 void CompareDescriptor::InitializePlatformSpecific( |
297 CallInterfaceDescriptorData* data) { | 297 CallInterfaceDescriptorData* data) { |
298 Register registers[] = {r1, r0}; | 298 Register registers[] = {r1, r0}; |
299 data->InitializePlatformSpecific(arraysize(registers), registers); | 299 data->InitializePlatformSpecific(arraysize(registers), registers); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 r1, // the JSGeneratorObject to resume | 441 r1, // the JSGeneratorObject to resume |
442 r2 // the resume mode (tagged) | 442 r2 // the resume mode (tagged) |
443 }; | 443 }; |
444 data->InitializePlatformSpecific(arraysize(registers), registers); | 444 data->InitializePlatformSpecific(arraysize(registers), registers); |
445 } | 445 } |
446 | 446 |
447 } // namespace internal | 447 } // namespace internal |
448 } // namespace v8 | 448 } // namespace v8 |
449 | 449 |
450 #endif // V8_TARGET_ARCH_ARM | 450 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |