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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 const Register MathPowIntegerDescriptor::exponent() { | 67 const Register MathPowIntegerDescriptor::exponent() { |
68 return MathPowTaggedDescriptor::exponent(); | 68 return MathPowTaggedDescriptor::exponent(); |
69 } | 69 } |
70 | 70 |
71 | 71 |
72 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } | 72 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } |
73 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } | 73 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } |
74 | 74 |
75 | 75 |
| 76 void StoreTransitionDescriptor::InitializePlatformSpecific( |
| 77 CallInterfaceDescriptorData* data) { |
| 78 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), |
| 79 MapRegister()}; |
| 80 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 81 } |
| 82 |
| 83 |
76 void FastNewClosureDescriptor::InitializePlatformSpecific( | 84 void FastNewClosureDescriptor::InitializePlatformSpecific( |
77 CallInterfaceDescriptorData* data) { | 85 CallInterfaceDescriptorData* data) { |
78 Register registers[] = {r5}; | 86 Register registers[] = {r5}; |
79 data->InitializePlatformSpecific(arraysize(registers), registers); | 87 data->InitializePlatformSpecific(arraysize(registers), registers); |
80 } | 88 } |
81 | 89 |
82 | 90 |
83 void FastNewContextDescriptor::InitializePlatformSpecific( | 91 void FastNewContextDescriptor::InitializePlatformSpecific( |
84 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
85 Register registers[] = {r4}; | 93 Register registers[] = {r4}; |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 r4, // math rounding function | 364 r4, // math rounding function |
357 r6, // vector slot id | 365 r6, // vector slot id |
358 r7, // type vector | 366 r7, // type vector |
359 }; | 367 }; |
360 data->InitializePlatformSpecific(arraysize(registers), registers); | 368 data->InitializePlatformSpecific(arraysize(registers), registers); |
361 } | 369 } |
362 } // namespace internal | 370 } // namespace internal |
363 } // namespace v8 | 371 } // namespace v8 |
364 | 372 |
365 #endif // V8_TARGET_ARCH_PPC | 373 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |