| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 } | 308 } |
| 309 | 309 |
| 310 | 310 |
| 311 void CompareDescriptor::InitializePlatformSpecific( | 311 void CompareDescriptor::InitializePlatformSpecific( |
| 312 CallInterfaceDescriptorData* data) { | 312 CallInterfaceDescriptorData* data) { |
| 313 Register registers[] = {rdx, rax}; | 313 Register registers[] = {rdx, rax}; |
| 314 data->InitializePlatformSpecific(arraysize(registers), registers); | 314 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 315 } | 315 } |
| 316 | 316 |
| 317 | 317 |
| 318 void CompareNilDescriptor::InitializePlatformSpecific( | |
| 319 CallInterfaceDescriptorData* data) { | |
| 320 Register registers[] = {rax}; | |
| 321 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 322 } | |
| 323 | |
| 324 | |
| 325 void ToBooleanDescriptor::InitializePlatformSpecific( | 318 void ToBooleanDescriptor::InitializePlatformSpecific( |
| 326 CallInterfaceDescriptorData* data) { | 319 CallInterfaceDescriptorData* data) { |
| 327 Register registers[] = {rax}; | 320 Register registers[] = {rax}; |
| 328 data->InitializePlatformSpecific(arraysize(registers), registers); | 321 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 329 } | 322 } |
| 330 | 323 |
| 331 | 324 |
| 332 void BinaryOpDescriptor::InitializePlatformSpecific( | 325 void BinaryOpDescriptor::InitializePlatformSpecific( |
| 333 CallInterfaceDescriptorData* data) { | 326 CallInterfaceDescriptorData* data) { |
| 334 Register registers[] = {rdx, rax}; | 327 Register registers[] = {rdx, rax}; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 r15, // address of first argument (argv) | 443 r15, // address of first argument (argv) |
| 451 rbx // the runtime function to call | 444 rbx // the runtime function to call |
| 452 }; | 445 }; |
| 453 data->InitializePlatformSpecific(arraysize(registers), registers); | 446 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 454 } | 447 } |
| 455 | 448 |
| 456 } // namespace internal | 449 } // namespace internal |
| 457 } // namespace v8 | 450 } // namespace v8 |
| 458 | 451 |
| 459 #endif // V8_TARGET_ARCH_X64 | 452 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |