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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 void InterpreterCEntryDescriptor::InitializePlatformSpecific( | 456 void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
457 CallInterfaceDescriptorData* data) { | 457 CallInterfaceDescriptorData* data) { |
458 Register registers[] = { | 458 Register registers[] = { |
459 r0, // argument count (argc) | 459 r0, // argument count (argc) |
460 r2, // address of first argument (argv) | 460 r2, // address of first argument (argv) |
461 r1 // the runtime function to call | 461 r1 // the runtime function to call |
462 }; | 462 }; |
463 data->InitializePlatformSpecific(arraysize(registers), registers); | 463 data->InitializePlatformSpecific(arraysize(registers), registers); |
464 } | 464 } |
465 | 465 |
| 466 |
| 467 void AtomicsLoadDescriptor::InitializePlatformSpecific( |
| 468 CallInterfaceDescriptorData* data) { |
| 469 Register registers[] = {r1, r0}; |
| 470 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 471 } |
| 472 |
| 473 |
466 } // namespace internal | 474 } // namespace internal |
467 } // namespace v8 | 475 } // namespace v8 |
468 | 476 |
469 #endif // V8_TARGET_ARCH_ARM | 477 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |