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