| 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; } | |
| 65 | 60 |
| 66 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } | 61 const Register GrowArrayElementsDescriptor::ObjectRegister() { return x0; } |
| 67 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } | 62 const Register GrowArrayElementsDescriptor::KeyRegister() { return x3; } |
| 68 | 63 |
| 69 | 64 |
| 70 void FastNewClosureDescriptor::InitializePlatformSpecific( | 65 void FastNewClosureDescriptor::InitializePlatformSpecific( |
| 71 CallInterfaceDescriptorData* data) { | 66 CallInterfaceDescriptorData* data) { |
| 72 // x1: function info | 67 // x1: function info |
| 73 // x2: feedback vector | 68 // x2: feedback vector |
| 74 // x3: slot | 69 // x3: slot |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 Register registers[] = { | 407 Register registers[] = { |
| 413 x1, // loaded new FP | 408 x1, // loaded new FP |
| 414 }; | 409 }; |
| 415 data->InitializePlatformSpecific(arraysize(registers), registers); | 410 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 416 } | 411 } |
| 417 | 412 |
| 418 } // namespace internal | 413 } // namespace internal |
| 419 } // namespace v8 | 414 } // namespace v8 |
| 420 | 415 |
| 421 #endif // V8_TARGET_ARCH_ARM64 | 416 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |