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 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; } | 14 const Register CallInterfaceDescriptor::ContextRegister() { return cp; } |
15 | 15 |
16 | 16 |
17 const Register LoadDescriptor::ReceiverRegister() { return r4; } | 17 const Register LoadDescriptor::ReceiverRegister() { return r4; } |
18 const Register LoadDescriptor::NameRegister() { return r5; } | 18 const Register LoadDescriptor::NameRegister() { return r5; } |
| 19 const Register LoadDescriptor::SlotRegister() { return r3; } |
19 | 20 |
20 | 21 |
21 const Register VectorLoadICTrampolineDescriptor::SlotRegister() { return r3; } | 22 const Register LoadWithVectorDescriptor::VectorRegister() { return r6; } |
22 | |
23 | |
24 const Register VectorLoadICDescriptor::VectorRegister() { return r6; } | |
25 | 23 |
26 | 24 |
27 const Register StoreDescriptor::ReceiverRegister() { return r4; } | 25 const Register StoreDescriptor::ReceiverRegister() { return r4; } |
28 const Register StoreDescriptor::NameRegister() { return r5; } | 26 const Register StoreDescriptor::NameRegister() { return r5; } |
29 const Register StoreDescriptor::ValueRegister() { return r3; } | 27 const Register StoreDescriptor::ValueRegister() { return r3; } |
30 | 28 |
31 | 29 |
32 const Register StoreTransitionDescriptor::MapRegister() { return r6; } | 30 const Register StoreTransitionDescriptor::MapRegister() { return r6; } |
33 | 31 |
34 | 32 |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 Representation::Tagged(), // | 378 Representation::Tagged(), // |
381 Representation::Tagged(), // | 379 Representation::Tagged(), // |
382 Representation::Tagged(), // | 380 Representation::Tagged(), // |
383 }; | 381 }; |
384 data->Initialize(arraysize(registers), registers, representations); | 382 data->Initialize(arraysize(registers), registers, representations); |
385 } | 383 } |
386 } | 384 } |
387 } // namespace v8::internal | 385 } // namespace v8::internal |
388 | 386 |
389 #endif // V8_TARGET_ARCH_PPC | 387 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |