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