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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 data->InitializePlatformSpecific(arraysize(registers), registers); | 306 data->InitializePlatformSpecific(arraysize(registers), registers); |
307 } | 307 } |
308 | 308 |
309 | 309 |
310 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 310 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
311 CallInterfaceDescriptorData* data) { | 311 CallInterfaceDescriptorData* data) { |
312 Register registers[] = {rcx, rdx, rax}; | 312 Register registers[] = {rcx, rdx, rax}; |
313 data->InitializePlatformSpecific(arraysize(registers), registers); | 313 data->InitializePlatformSpecific(arraysize(registers), registers); |
314 } | 314 } |
315 | 315 |
| 316 void CountOpDescriptor::InitializePlatformSpecific( |
| 317 CallInterfaceDescriptorData* data) { |
| 318 Register registers[] = {rax}; |
| 319 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 320 } |
316 | 321 |
317 void StringAddDescriptor::InitializePlatformSpecific( | 322 void StringAddDescriptor::InitializePlatformSpecific( |
318 CallInterfaceDescriptorData* data) { | 323 CallInterfaceDescriptorData* data) { |
319 Register registers[] = {rdx, rax}; | 324 Register registers[] = {rdx, rax}; |
320 data->InitializePlatformSpecific(arraysize(registers), registers); | 325 data->InitializePlatformSpecific(arraysize(registers), registers); |
321 } | 326 } |
322 | 327 |
323 | 328 |
324 void KeyedDescriptor::InitializePlatformSpecific( | 329 void KeyedDescriptor::InitializePlatformSpecific( |
325 CallInterfaceDescriptorData* data) { | 330 CallInterfaceDescriptorData* data) { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 rbx, // the JSGeneratorObject to resume | 422 rbx, // the JSGeneratorObject to resume |
418 rdx // the resume mode (tagged) | 423 rdx // the resume mode (tagged) |
419 }; | 424 }; |
420 data->InitializePlatformSpecific(arraysize(registers), registers); | 425 data->InitializePlatformSpecific(arraysize(registers), registers); |
421 } | 426 } |
422 | 427 |
423 } // namespace internal | 428 } // namespace internal |
424 } // namespace v8 | 429 } // namespace v8 |
425 | 430 |
426 #endif // V8_TARGET_ARCH_X64 | 431 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |