| 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/arm/interface-descriptors-arm.h" | 5 #include "src/arm/interface-descriptors-arm.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 Register registers[] = {r0, r1}; | 255 Register registers[] = {r0, r1}; |
| 256 data->InitializePlatformSpecific(arraysize(registers), registers); | 256 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 257 } | 257 } |
| 258 | 258 |
| 259 | 259 |
| 260 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 260 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
| 261 CallInterfaceDescriptorData* data) { | 261 CallInterfaceDescriptorData* data) { |
| 262 data->InitializePlatformSpecific(0, nullptr, nullptr); | 262 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| 263 } | 263 } |
| 264 | 264 |
| 265 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 266 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 267 CallInterfaceDescriptorData* data) { \ |
| 268 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 269 } |
| 270 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 271 #undef SIMD128_ALLOC_DESC |
| 265 | 272 |
| 266 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 273 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
| 267 CallInterfaceDescriptorData* data) { | 274 CallInterfaceDescriptorData* data) { |
| 268 Register registers[] = {r0}; | 275 Register registers[] = {r0}; |
| 269 data->InitializePlatformSpecific(arraysize(registers), registers); | 276 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 270 } | 277 } |
| 271 | 278 |
| 272 | 279 |
| 273 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 280 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
| 274 CallInterfaceDescriptorData* data) { | 281 CallInterfaceDescriptorData* data) { |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 r2, // address of first argument (argv) | 480 r2, // address of first argument (argv) |
| 474 r1 // the runtime function to call | 481 r1 // the runtime function to call |
| 475 }; | 482 }; |
| 476 data->InitializePlatformSpecific(arraysize(registers), registers); | 483 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 477 } | 484 } |
| 478 | 485 |
| 479 } // namespace internal | 486 } // namespace internal |
| 480 } // namespace v8 | 487 } // namespace v8 |
| 481 | 488 |
| 482 #endif // V8_TARGET_ARCH_ARM | 489 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |