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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 | 96 |
97 void ToNumberDescriptor::InitializePlatformSpecific( | 97 void ToNumberDescriptor::InitializePlatformSpecific( |
98 CallInterfaceDescriptorData* data) { | 98 CallInterfaceDescriptorData* data) { |
99 Register registers[] = {r0}; | 99 Register registers[] = {r0}; |
100 data->InitializePlatformSpecific(arraysize(registers), registers); | 100 data->InitializePlatformSpecific(arraysize(registers), registers); |
101 } | 101 } |
102 | 102 |
103 | 103 |
104 // static | 104 // static |
| 105 const Register ToLengthDescriptor::ReceiverRegister() { return r0; } |
| 106 |
| 107 |
| 108 // static |
105 const Register ToStringDescriptor::ReceiverRegister() { return r0; } | 109 const Register ToStringDescriptor::ReceiverRegister() { return r0; } |
106 | 110 |
107 | 111 |
108 // static | 112 // static |
109 const Register ToObjectDescriptor::ReceiverRegister() { return r0; } | 113 const Register ToObjectDescriptor::ReceiverRegister() { return r0; } |
110 | 114 |
111 | 115 |
112 void NumberToStringDescriptor::InitializePlatformSpecific( | 116 void NumberToStringDescriptor::InitializePlatformSpecific( |
113 CallInterfaceDescriptorData* data) { | 117 CallInterfaceDescriptorData* data) { |
114 Register registers[] = {r0}; | 118 Register registers[] = {r0}; |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 r2, // address of first argument (argv) | 450 r2, // address of first argument (argv) |
447 r1 // the runtime function to call | 451 r1 // the runtime function to call |
448 }; | 452 }; |
449 data->InitializePlatformSpecific(arraysize(registers), registers); | 453 data->InitializePlatformSpecific(arraysize(registers), registers); |
450 } | 454 } |
451 | 455 |
452 } // namespace internal | 456 } // namespace internal |
453 } // namespace v8 | 457 } // namespace v8 |
454 | 458 |
455 #endif // V8_TARGET_ARCH_ARM | 459 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |