| 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; } | |
| 15 | |
| 16 | |
| 17 const Register LoadDescriptor::ReceiverRegister() { return x1; } | 14 const Register LoadDescriptor::ReceiverRegister() { return x1; } |
| 18 const Register LoadDescriptor::NameRegister() { return x2; } | 15 const Register LoadDescriptor::NameRegister() { return x2; } |
| 19 const Register LoadDescriptor::SlotRegister() { return x0; } | 16 const Register LoadDescriptor::SlotRegister() { return x0; } |
| 20 | 17 |
| 21 | 18 |
| 22 const Register LoadWithVectorDescriptor::VectorRegister() { return x3; } | 19 const Register LoadWithVectorDescriptor::VectorRegister() { return x3; } |
| 23 | 20 |
| 24 | 21 |
| 25 const Register StoreDescriptor::ReceiverRegister() { return x1; } | 22 const Register StoreDescriptor::ReceiverRegister() { return x1; } |
| 26 const Register StoreDescriptor::NameRegister() { return x2; } | 23 const Register StoreDescriptor::NameRegister() { return x2; } |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 x1, // math rounding function | 414 x1, // math rounding function |
| 418 x3, // vector slot id | 415 x3, // vector slot id |
| 419 x4, // type vector | 416 x4, // type vector |
| 420 }; | 417 }; |
| 421 data->InitializePlatformSpecific(arraysize(registers), registers); | 418 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 422 } | 419 } |
| 423 } // namespace internal | 420 } // namespace internal |
| 424 } // namespace v8 | 421 } // namespace v8 |
| 425 | 422 |
| 426 #endif // V8_TARGET_ARCH_ARM64 | 423 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |