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 13 matching lines...) Expand all Loading... |
24 const Register StoreDescriptor::NameRegister() { return r5; } | 24 const Register StoreDescriptor::NameRegister() { return r5; } |
25 const Register StoreDescriptor::ValueRegister() { return r3; } | 25 const Register StoreDescriptor::ValueRegister() { return r3; } |
26 | 26 |
27 | 27 |
28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r7; } | 28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r7; } |
29 | 29 |
30 | 30 |
31 const Register VectorStoreICDescriptor::VectorRegister() { return r6; } | 31 const Register VectorStoreICDescriptor::VectorRegister() { return r6; } |
32 | 32 |
33 | 33 |
| 34 const Register VectorStoreTransitionDescriptor::SlotRegister() { return r7; } |
| 35 const Register VectorStoreTransitionDescriptor::VectorRegister() { return r6; } |
| 36 const Register VectorStoreTransitionDescriptor::MapRegister() { return r8; } |
| 37 |
| 38 |
34 const Register StoreTransitionDescriptor::MapRegister() { return r6; } | 39 const Register StoreTransitionDescriptor::MapRegister() { return r6; } |
35 | 40 |
36 | 41 |
37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r5; } | 42 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r5; } |
38 | 43 |
39 | 44 |
40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r5; } | 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r5; } |
41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r3; } | 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r3; } |
42 | 47 |
43 | 48 |
(...skipping 13 matching lines...) Expand all Loading... |
57 | 62 |
58 const Register MathPowIntegerDescriptor::exponent() { | 63 const Register MathPowIntegerDescriptor::exponent() { |
59 return MathPowTaggedDescriptor::exponent(); | 64 return MathPowTaggedDescriptor::exponent(); |
60 } | 65 } |
61 | 66 |
62 | 67 |
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } | 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r3; } |
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } | 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return r6; } |
65 | 70 |
66 | 71 |
67 void StoreTransitionDescriptor::InitializePlatformSpecific( | 72 void VectorStoreTransitionDescriptor::InitializePlatformSpecific( |
68 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
69 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), | 74 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), |
70 MapRegister()}; | 75 SlotRegister(), VectorRegister(), MapRegister()}; |
71 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
72 } | 77 } |
73 | 78 |
74 | 79 |
75 void FastNewClosureDescriptor::InitializePlatformSpecific( | 80 void FastNewClosureDescriptor::InitializePlatformSpecific( |
76 CallInterfaceDescriptorData* data) { | 81 CallInterfaceDescriptorData* data) { |
77 Register registers[] = {r5}; | 82 Register registers[] = {r5}; |
78 data->InitializePlatformSpecific(arraysize(registers), registers); | 83 data->InitializePlatformSpecific(arraysize(registers), registers); |
79 } | 84 } |
80 | 85 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 r4, // math rounding function | 364 r4, // math rounding function |
360 r6, // vector slot id | 365 r6, // vector slot id |
361 r7, // type vector | 366 r7, // type vector |
362 }; | 367 }; |
363 data->InitializePlatformSpecific(arraysize(registers), registers); | 368 data->InitializePlatformSpecific(arraysize(registers), registers); |
364 } | 369 } |
365 } // namespace internal | 370 } // namespace internal |
366 } // namespace v8 | 371 } // namespace v8 |
367 | 372 |
368 #endif // V8_TARGET_ARCH_PPC | 373 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |