OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
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 x1; } | 17 const Register LoadDescriptor::ReceiverRegister() { return x1; } |
18 const Register LoadDescriptor::NameRegister() { return x2; } | 18 const Register LoadDescriptor::NameRegister() { return x2; } |
| 19 const Register LoadDescriptor::SlotRegister() { return x0; } |
19 | 20 |
20 | 21 |
21 const Register VectorLoadICTrampolineDescriptor::SlotRegister() { return x0; } | 22 const Register LoadWithVectorDescriptor::VectorRegister() { return x3; } |
22 | |
23 | |
24 const Register VectorLoadICDescriptor::VectorRegister() { return x3; } | |
25 | 23 |
26 | 24 |
27 const Register StoreDescriptor::ReceiverRegister() { return x1; } | 25 const Register StoreDescriptor::ReceiverRegister() { return x1; } |
28 const Register StoreDescriptor::NameRegister() { return x2; } | 26 const Register StoreDescriptor::NameRegister() { return x2; } |
29 const Register StoreDescriptor::ValueRegister() { return x0; } | 27 const Register StoreDescriptor::ValueRegister() { return x0; } |
30 | 28 |
31 | 29 |
32 const Register StoreTransitionDescriptor::MapRegister() { return x3; } | 30 const Register StoreTransitionDescriptor::MapRegister() { return x3; } |
33 | 31 |
34 | 32 |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 Representation::Tagged(), // | 453 Representation::Tagged(), // |
456 Representation::Tagged(), // | 454 Representation::Tagged(), // |
457 Representation::Tagged(), // | 455 Representation::Tagged(), // |
458 }; | 456 }; |
459 data->Initialize(arraysize(registers), registers, representations); | 457 data->Initialize(arraysize(registers), registers, representations); |
460 } | 458 } |
461 } | 459 } |
462 } // namespace v8::internal | 460 } // namespace v8::internal |
463 | 461 |
464 #endif // V8_TARGET_ARCH_ARM64 | 462 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |