| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return rax; } | 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return rax; } |
| 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return rbx; } | 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return rbx; } |
| 70 | 70 |
| 71 | 71 |
| 72 void FastNewClosureDescriptor::InitializePlatformSpecific( | 72 void FastNewClosureDescriptor::InitializePlatformSpecific( |
| 73 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
| 74 Register registers[] = {rbx}; | 74 Register registers[] = {rbx}; |
| 75 data->InitializePlatformSpecific(arraysize(registers), registers); | 75 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 76 } | 76 } |
| 77 | 77 |
| 78 | 78 void FastNewFunctionContextDescriptor::InitializePlatformSpecific( |
| 79 void FastNewContextDescriptor::InitializePlatformSpecific( | |
| 80 CallInterfaceDescriptorData* data) { | 79 CallInterfaceDescriptorData* data) { |
| 81 Register registers[] = {rdi}; | 80 Register registers[] = {rdi}; |
| 82 data->InitializePlatformSpecific(arraysize(registers), registers); | 81 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 83 } | 82 } |
| 84 | 83 |
| 85 void FastNewObjectDescriptor::InitializePlatformSpecific( | 84 void FastNewObjectDescriptor::InitializePlatformSpecific( |
| 86 CallInterfaceDescriptorData* data) { | 85 CallInterfaceDescriptorData* data) { |
| 87 Register registers[] = {rdi, rdx}; | 86 Register registers[] = {rdi, rdx}; |
| 88 data->InitializePlatformSpecific(arraysize(registers), registers); | 87 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 89 } | 88 } |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 rbx, // the JSGeneratorObject to resume | 407 rbx, // the JSGeneratorObject to resume |
| 409 rdx // the resume mode (tagged) | 408 rdx // the resume mode (tagged) |
| 410 }; | 409 }; |
| 411 data->InitializePlatformSpecific(arraysize(registers), registers); | 410 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 412 } | 411 } |
| 413 | 412 |
| 414 } // namespace internal | 413 } // namespace internal |
| 415 } // namespace v8 | 414 } // namespace v8 |
| 416 | 415 |
| 417 #endif // V8_TARGET_ARCH_X64 | 416 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |