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 #if V8_TARGET_ARCH_X64 | 5 #if V8_TARGET_ARCH_X64 |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 Register registers[] = {rax, rbx}; | 251 Register registers[] = {rax, rbx}; |
252 data->InitializePlatformSpecific(arraysize(registers), registers); | 252 data->InitializePlatformSpecific(arraysize(registers), registers); |
253 } | 253 } |
254 | 254 |
255 | 255 |
256 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 256 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
257 CallInterfaceDescriptorData* data) { | 257 CallInterfaceDescriptorData* data) { |
258 data->InitializePlatformSpecific(0, nullptr, nullptr); | 258 data->InitializePlatformSpecific(0, nullptr, nullptr); |
259 } | 259 } |
260 | 260 |
| 261 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 262 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 263 CallInterfaceDescriptorData* data) { \ |
| 264 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 265 } |
| 266 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 267 #undef SIMD128_ALLOC_DESC |
261 | 268 |
262 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 269 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
263 CallInterfaceDescriptorData* data) { | 270 CallInterfaceDescriptorData* data) { |
264 Register registers[] = {rax}; | 271 Register registers[] = {rax}; |
265 data->InitializePlatformSpecific(arraysize(registers), registers); | 272 data->InitializePlatformSpecific(arraysize(registers), registers); |
266 } | 273 } |
267 | 274 |
268 | 275 |
269 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 276 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
270 CallInterfaceDescriptorData* data) { | 277 CallInterfaceDescriptorData* data) { |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 r15, // address of first argument (argv) | 452 r15, // address of first argument (argv) |
446 rbx // the runtime function to call | 453 rbx // the runtime function to call |
447 }; | 454 }; |
448 data->InitializePlatformSpecific(arraysize(registers), registers); | 455 data->InitializePlatformSpecific(arraysize(registers), registers); |
449 } | 456 } |
450 | 457 |
451 } // namespace internal | 458 } // namespace internal |
452 } // namespace v8 | 459 } // namespace v8 |
453 | 460 |
454 #endif // V8_TARGET_ARCH_X64 | 461 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |