OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #if V8_TARGET_ARCH_PPC | 5 #if V8_TARGET_ARCH_PPC |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 | 93 |
94 void ToNumberDescriptor::InitializePlatformSpecific( | 94 void ToNumberDescriptor::InitializePlatformSpecific( |
95 CallInterfaceDescriptorData* data) { | 95 CallInterfaceDescriptorData* data) { |
96 Register registers[] = {r3}; | 96 Register registers[] = {r3}; |
97 data->InitializePlatformSpecific(arraysize(registers), registers); | 97 data->InitializePlatformSpecific(arraysize(registers), registers); |
98 } | 98 } |
99 | 99 |
100 | 100 |
101 // static | 101 // static |
| 102 const Register ToStringDescriptor::ReceiverRegister() { return r3; } |
| 103 |
| 104 |
| 105 // static |
102 const Register ToObjectDescriptor::ReceiverRegister() { return r3; } | 106 const Register ToObjectDescriptor::ReceiverRegister() { return r3; } |
103 | 107 |
104 | 108 |
105 void NumberToStringDescriptor::InitializePlatformSpecific( | 109 void NumberToStringDescriptor::InitializePlatformSpecific( |
106 CallInterfaceDescriptorData* data) { | 110 CallInterfaceDescriptorData* data) { |
107 Register registers[] = {r3}; | 111 Register registers[] = {r3}; |
108 data->InitializePlatformSpecific(arraysize(registers), registers); | 112 data->InitializePlatformSpecific(arraysize(registers), registers); |
109 } | 113 } |
110 | 114 |
111 | 115 |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 r4, // math rounding function | 368 r4, // math rounding function |
365 r6, // vector slot id | 369 r6, // vector slot id |
366 r7, // type vector | 370 r7, // type vector |
367 }; | 371 }; |
368 data->InitializePlatformSpecific(arraysize(registers), registers); | 372 data->InitializePlatformSpecific(arraysize(registers), registers); |
369 } | 373 } |
370 } // namespace internal | 374 } // namespace internal |
371 } // namespace v8 | 375 } // namespace v8 |
372 | 376 |
373 #endif // V8_TARGET_ARCH_PPC | 377 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |