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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 } | 277 } |
278 | 278 |
279 | 279 |
280 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 280 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
281 CallInterfaceDescriptorData* data) { | 281 CallInterfaceDescriptorData* data) { |
282 // stack param count needs (constructor pointer, and single argument) | 282 // stack param count needs (constructor pointer, and single argument) |
283 Register registers[] = {r1, r0}; | 283 Register registers[] = {r1, r0}; |
284 data->InitializePlatformSpecific(arraysize(registers), registers); | 284 data->InitializePlatformSpecific(arraysize(registers), registers); |
285 } | 285 } |
286 | 286 |
| 287 void FastArrayPushDescriptor::InitializePlatformSpecific( |
| 288 CallInterfaceDescriptorData* data) { |
| 289 // stack param count needs (arg count) |
| 290 Register registers[] = {r0}; |
| 291 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 292 } |
287 | 293 |
288 void CompareDescriptor::InitializePlatformSpecific( | 294 void CompareDescriptor::InitializePlatformSpecific( |
289 CallInterfaceDescriptorData* data) { | 295 CallInterfaceDescriptorData* data) { |
290 Register registers[] = {r1, r0}; | 296 Register registers[] = {r1, r0}; |
291 data->InitializePlatformSpecific(arraysize(registers), registers); | 297 data->InitializePlatformSpecific(arraysize(registers), registers); |
292 } | 298 } |
293 | 299 |
294 | 300 |
295 void BinaryOpDescriptor::InitializePlatformSpecific( | 301 void BinaryOpDescriptor::InitializePlatformSpecific( |
296 CallInterfaceDescriptorData* data) { | 302 CallInterfaceDescriptorData* data) { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 r2, // address of first argument (argv) | 425 r2, // address of first argument (argv) |
420 r1 // the runtime function to call | 426 r1 // the runtime function to call |
421 }; | 427 }; |
422 data->InitializePlatformSpecific(arraysize(registers), registers); | 428 data->InitializePlatformSpecific(arraysize(registers), registers); |
423 } | 429 } |
424 | 430 |
425 } // namespace internal | 431 } // namespace internal |
426 } // namespace v8 | 432 } // namespace v8 |
427 | 433 |
428 #endif // V8_TARGET_ARCH_ARM | 434 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |