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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r7; } | 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r7; } |
31 | 31 |
32 | 32 |
33 const Register VectorStoreICDescriptor::VectorRegister() { return r6; } | 33 const Register VectorStoreICDescriptor::VectorRegister() { return r6; } |
34 | 34 |
35 | 35 |
36 const Register StoreTransitionDescriptor::MapRegister() { return r6; } | 36 const Register StoreTransitionDescriptor::MapRegister() { return r6; } |
37 | 37 |
38 | 38 |
| 39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return r4; } |
| 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r5; } |
| 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return r3; } |
| 42 |
| 43 |
| 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return r4; } |
| 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r5; } |
| 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return r6; } |
| 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r3; } |
| 48 |
| 49 |
39 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return r6; } | 50 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return r6; } |
40 | 51 |
41 | 52 |
42 const Register InstanceofDescriptor::left() { return r3; } | 53 const Register InstanceofDescriptor::left() { return r3; } |
43 const Register InstanceofDescriptor::right() { return r4; } | 54 const Register InstanceofDescriptor::right() { return r4; } |
44 | 55 |
45 | 56 |
46 const Register ArgumentsAccessReadDescriptor::index() { return r4; } | 57 const Register ArgumentsAccessReadDescriptor::index() { return r4; } |
47 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r3; } | 58 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r3; } |
48 | 59 |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 Register registers[] = { | 345 Register registers[] = { |
335 r4, // math rounding function | 346 r4, // math rounding function |
336 r6, // vector slot id | 347 r6, // vector slot id |
337 }; | 348 }; |
338 data->InitializePlatformSpecific(arraysize(registers), registers); | 349 data->InitializePlatformSpecific(arraysize(registers), registers); |
339 } | 350 } |
340 } // namespace internal | 351 } // namespace internal |
341 } // namespace v8 | 352 } // namespace v8 |
342 | 353 |
343 #endif // V8_TARGET_ARCH_PPC | 354 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |