| 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 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return x4; } | 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return x4; } |
| 31 | 31 |
| 32 | 32 |
| 33 const Register VectorStoreICDescriptor::VectorRegister() { return x3; } | 33 const Register VectorStoreICDescriptor::VectorRegister() { return x3; } |
| 34 | 34 |
| 35 | 35 |
| 36 const Register StoreTransitionDescriptor::MapRegister() { return x3; } | 36 const Register StoreTransitionDescriptor::MapRegister() { return x3; } |
| 37 | 37 |
| 38 | 38 |
| 39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return x1; } |
| 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return x2; } |
| 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return x3; } |
| 42 |
| 43 |
| 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return x1; } |
| 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return x2; } |
| 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return x3; } |
| 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return x0; } |
| 48 |
| 49 |
| 39 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return x3; } | 50 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return x3; } |
| 40 | 51 |
| 41 | 52 |
| 42 const Register InstanceofDescriptor::left() { | 53 const Register InstanceofDescriptor::left() { |
| 43 // Object to check (instanceof lhs). | 54 // Object to check (instanceof lhs). |
| 44 return x11; | 55 return x11; |
| 45 } | 56 } |
| 46 | 57 |
| 47 | 58 |
| 48 const Register InstanceofDescriptor::right() { | 59 const Register InstanceofDescriptor::right() { |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 Register registers[] = { | 405 Register registers[] = { |
| 395 x1, // math rounding function | 406 x1, // math rounding function |
| 396 x3, // vector slot id | 407 x3, // vector slot id |
| 397 }; | 408 }; |
| 398 data->InitializePlatformSpecific(arraysize(registers), registers); | 409 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 399 } | 410 } |
| 400 } // namespace internal | 411 } // namespace internal |
| 401 } // namespace v8 | 412 } // namespace v8 |
| 402 | 413 |
| 403 #endif // V8_TARGET_ARCH_ARM64 | 414 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |