| 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 29 matching lines...) Expand all Loading... |
| 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return x2; } | 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return x2; } |
| 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return x3; } | 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return x3; } |
| 42 | 42 |
| 43 | 43 |
| 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return x1; } | 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return x1; } |
| 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return x2; } | 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return x2; } |
| 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return x3; } | 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return x3; } |
| 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return x0; } | 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return x0; } |
| 48 | 48 |
| 49 | 49 |
| 50 const Register ElementTransitionAndStoreDescriptor::MapRegister() { return x3; } | |
| 51 | |
| 52 | |
| 53 const Register InstanceofDescriptor::left() { | 50 const Register InstanceofDescriptor::left() { |
| 54 // Object to check (instanceof lhs). | 51 // Object to check (instanceof lhs). |
| 55 return x11; | 52 return x11; |
| 56 } | 53 } |
| 57 | 54 |
| 58 | 55 |
| 59 const Register InstanceofDescriptor::right() { | 56 const Register InstanceofDescriptor::right() { |
| 60 // Constructor function (instanceof rhs). | 57 // Constructor function (instanceof rhs). |
| 61 return x10; | 58 return x10; |
| 62 } | 59 } |
| (...skipping 354 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 |