| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 data->InitializePlatformSpecific(arraysize(registers), registers); | 235 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 236 } | 236 } |
| 237 | 237 |
| 238 | 238 |
| 239 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 239 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
| 240 CallInterfaceDescriptorData* data) { | 240 CallInterfaceDescriptorData* data) { |
| 241 data->InitializePlatformSpecific(0, nullptr, nullptr); | 241 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| 242 } | 242 } |
| 243 | 243 |
| 244 | 244 |
| 245 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
| 246 CallInterfaceDescriptorData* data) { |
| 247 Register registers[] = {x0}; |
| 248 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 249 } |
| 250 |
| 251 |
| 245 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 252 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
| 246 CallInterfaceDescriptorData* data) { | 253 CallInterfaceDescriptorData* data) { |
| 247 // x1: function | 254 // x1: function |
| 248 // x2: allocation site with elements kind | 255 // x2: allocation site with elements kind |
| 249 // x0: number of arguments to the constructor function | 256 // x0: number of arguments to the constructor function |
| 250 Register registers[] = {x1, x2}; | 257 Register registers[] = {x1, x2}; |
| 251 data->InitializePlatformSpecific(arraysize(registers), registers); | 258 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 252 } | 259 } |
| 253 | 260 |
| 254 | 261 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 x1 // the runtime function to call | 464 x1 // the runtime function to call |
| 458 }; | 465 }; |
| 459 data->InitializePlatformSpecific(arraysize(registers), registers); | 466 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 460 } | 467 } |
| 461 | 468 |
| 462 | 469 |
| 463 } // namespace internal | 470 } // namespace internal |
| 464 } // namespace v8 | 471 } // namespace v8 |
| 465 | 472 |
| 466 #endif // V8_TARGET_ARCH_ARM64 | 473 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |