| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 } | 77 } |
| 78 | 78 |
| 79 | 79 |
| 80 void FastNewContextDescriptor::InitializePlatformSpecific( | 80 void FastNewContextDescriptor::InitializePlatformSpecific( |
| 81 CallInterfaceDescriptorData* data) { | 81 CallInterfaceDescriptorData* data) { |
| 82 // x1: function | 82 // x1: function |
| 83 Register registers[] = {x1}; | 83 Register registers[] = {x1}; |
| 84 data->InitializePlatformSpecific(arraysize(registers), registers); | 84 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 85 } | 85 } |
| 86 | 86 |
| 87 void FastNewObjectDescriptor::InitializePlatformSpecific( |
| 88 CallInterfaceDescriptorData* data) { |
| 89 Register registers[] = {x1, x3}; |
| 90 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 91 } |
| 87 | 92 |
| 88 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 93 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 89 CallInterfaceDescriptorData* data) { | 94 CallInterfaceDescriptorData* data) { |
| 90 // x1: function | 95 // x1: function |
| 91 Register registers[] = {x1}; | 96 Register registers[] = {x1}; |
| 92 data->InitializePlatformSpecific(arraysize(registers), registers); | 97 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 93 } | 98 } |
| 94 | 99 |
| 95 | 100 |
| 96 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | 101 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 x1 // the runtime function to call | 515 x1 // the runtime function to call |
| 511 }; | 516 }; |
| 512 data->InitializePlatformSpecific(arraysize(registers), registers); | 517 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 513 } | 518 } |
| 514 | 519 |
| 515 | 520 |
| 516 } // namespace internal | 521 } // namespace internal |
| 517 } // namespace v8 | 522 } // namespace v8 |
| 518 | 523 |
| 519 #endif // V8_TARGET_ARCH_ARM64 | 524 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |