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/arm64/interface-descriptors-arm64.h" | 5 #include "src/arm64/interface-descriptors-arm64.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const Register StringCompareDescriptor::RightRegister() { return x0; } | 50 const Register StringCompareDescriptor::RightRegister() { return x0; } |
51 | 51 |
52 const Register ApiGetterDescriptor::HolderRegister() { return x0; } | 52 const Register ApiGetterDescriptor::HolderRegister() { return x0; } |
53 const Register ApiGetterDescriptor::CallbackRegister() { return x3; } | 53 const Register ApiGetterDescriptor::CallbackRegister() { return x3; } |
54 | 54 |
55 const Register MathPowTaggedDescriptor::exponent() { return x11; } | 55 const Register MathPowTaggedDescriptor::exponent() { return x11; } |
56 | 56 |
57 | 57 |
58 const Register MathPowIntegerDescriptor::exponent() { return x12; } | 58 const Register MathPowIntegerDescriptor::exponent() { return x12; } |
59 | 59 |
| 60 const Register RegExpExecDescriptor::StringRegister() { return x0; } |
| 61 const Register RegExpExecDescriptor::LastIndexRegister() { return x1; } |
| 62 const Register RegExpExecDescriptor::StringStartRegister() { return x2; } |
| 63 const Register RegExpExecDescriptor::StringEndRegister() { return x3; } |
| 64 const Register RegExpExecDescriptor::CodeRegister() { return x8; } |
60 | 65 |
61 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } | 66 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
62 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } | 67 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } |
63 | 68 |
64 | 69 |
65 void FastNewClosureDescriptor::InitializePlatformSpecific( | 70 void FastNewClosureDescriptor::InitializePlatformSpecific( |
66 CallInterfaceDescriptorData* data) { | 71 CallInterfaceDescriptorData* data) { |
67 // x1: function info | 72 // x1: function info |
68 // x2: feedback vector | 73 // x2: feedback vector |
69 // x3: slot | 74 // x3: slot |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 Register registers[] = { | 412 Register registers[] = { |
408 x1, // loaded new FP | 413 x1, // loaded new FP |
409 }; | 414 }; |
410 data->InitializePlatformSpecific(arraysize(registers), registers); | 415 data->InitializePlatformSpecific(arraysize(registers), registers); |
411 } | 416 } |
412 | 417 |
413 } // namespace internal | 418 } // namespace internal |
414 } // namespace v8 | 419 } // namespace v8 |
415 | 420 |
416 #endif // V8_TARGET_ARCH_ARM64 | 421 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |