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 23 matching lines...) Expand all Loading... |
34 const Register StoreTransitionDescriptor::MapRegister() { return x3; } | 34 const Register StoreTransitionDescriptor::MapRegister() { return x3; } |
35 | 35 |
36 | 36 |
37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return x2; } | 37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return x2; } |
38 | 38 |
39 | 39 |
40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return x2; } | 40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return x2; } |
41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return x0; } | 41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return x0; } |
42 | 42 |
43 | 43 |
44 const Register InstanceofDescriptor::left() { | 44 const Register InstanceOfDescriptor::LeftRegister() { return x1; } |
45 // Object to check (instanceof lhs). | 45 const Register InstanceOfDescriptor::RightRegister() { return x0; } |
46 return x11; | |
47 } | |
48 | |
49 | |
50 const Register InstanceofDescriptor::right() { | |
51 // Constructor function (instanceof rhs). | |
52 return x10; | |
53 } | |
54 | 46 |
55 | 47 |
56 const Register ArgumentsAccessReadDescriptor::index() { return x1; } | 48 const Register ArgumentsAccessReadDescriptor::index() { return x1; } |
57 const Register ArgumentsAccessReadDescriptor::parameter_count() { return x0; } | 49 const Register ArgumentsAccessReadDescriptor::parameter_count() { return x0; } |
58 | 50 |
59 | 51 |
60 const Register ApiGetterDescriptor::function_address() { return x2; } | 52 const Register ApiGetterDescriptor::function_address() { return x2; } |
61 | 53 |
62 | 54 |
63 const Register MathPowTaggedDescriptor::exponent() { return x11; } | 55 const Register MathPowTaggedDescriptor::exponent() { return x11; } |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 x1, // math rounding function | 412 x1, // math rounding function |
421 x3, // vector slot id | 413 x3, // vector slot id |
422 x4, // type vector | 414 x4, // type vector |
423 }; | 415 }; |
424 data->InitializePlatformSpecific(arraysize(registers), registers); | 416 data->InitializePlatformSpecific(arraysize(registers), registers); |
425 } | 417 } |
426 } // namespace internal | 418 } // namespace internal |
427 } // namespace v8 | 419 } // namespace v8 |
428 | 420 |
429 #endif // V8_TARGET_ARCH_ARM64 | 421 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |