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 #if V8_TARGET_ARCH_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 28 matching lines...) Expand all Loading... |
39 const Register StoreTransitionDescriptor::MapRegister() { return x3; } | 39 const Register StoreTransitionDescriptor::MapRegister() { return x3; } |
40 | 40 |
41 | 41 |
42 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return x2; } | 42 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return x2; } |
43 | 43 |
44 | 44 |
45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return x2; } | 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return x2; } |
46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return x0; } | 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return x0; } |
47 | 47 |
48 | 48 |
49 const Register InstanceofDescriptor::left() { | 49 const Register InstanceOfDescriptor::LeftRegister() { return x1; } |
50 // Object to check (instanceof lhs). | 50 const Register InstanceOfDescriptor::RightRegister() { return x0; } |
51 return x11; | |
52 } | |
53 | |
54 | |
55 const Register InstanceofDescriptor::right() { | |
56 // Constructor function (instanceof rhs). | |
57 return x10; | |
58 } | |
59 | 51 |
60 | 52 |
61 const Register ArgumentsAccessReadDescriptor::index() { return x1; } | 53 const Register ArgumentsAccessReadDescriptor::index() { return x1; } |
62 const Register ArgumentsAccessReadDescriptor::parameter_count() { return x0; } | 54 const Register ArgumentsAccessReadDescriptor::parameter_count() { return x0; } |
63 | 55 |
64 | 56 |
65 const Register ApiGetterDescriptor::function_address() { return x2; } | 57 const Register ApiGetterDescriptor::function_address() { return x2; } |
66 | 58 |
67 | 59 |
68 const Register MathPowTaggedDescriptor::exponent() { return x11; } | 60 const Register MathPowTaggedDescriptor::exponent() { return x11; } |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 x1, // math rounding function | 417 x1, // math rounding function |
426 x3, // vector slot id | 418 x3, // vector slot id |
427 x4, // type vector | 419 x4, // type vector |
428 }; | 420 }; |
429 data->InitializePlatformSpecific(arraysize(registers), registers); | 421 data->InitializePlatformSpecific(arraysize(registers), registers); |
430 } | 422 } |
431 } // namespace internal | 423 } // namespace internal |
432 } // namespace v8 | 424 } // namespace v8 |
433 | 425 |
434 #endif // V8_TARGET_ARCH_ARM64 | 426 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |