| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 } | 159 } |
| 160 | 160 |
| 161 | 161 |
| 162 void CreateWeakCellDescriptor::InitializePlatformSpecific( | 162 void CreateWeakCellDescriptor::InitializePlatformSpecific( |
| 163 CallInterfaceDescriptorData* data) { | 163 CallInterfaceDescriptorData* data) { |
| 164 Register registers[] = {rbx, rdx, rdi}; | 164 Register registers[] = {rbx, rdx, rdi}; |
| 165 data->InitializePlatformSpecific(arraysize(registers), registers); | 165 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 166 } | 166 } |
| 167 | 167 |
| 168 | 168 |
| 169 void StoreArrayLiteralElementDescriptor::InitializePlatformSpecific( | |
| 170 CallInterfaceDescriptorData* data) { | |
| 171 Register registers[] = {rcx, rax}; | |
| 172 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 173 } | |
| 174 | |
| 175 | |
| 176 void CallFunctionDescriptor::InitializePlatformSpecific( | 169 void CallFunctionDescriptor::InitializePlatformSpecific( |
| 177 CallInterfaceDescriptorData* data) { | 170 CallInterfaceDescriptorData* data) { |
| 178 Register registers[] = {rdi}; | 171 Register registers[] = {rdi}; |
| 179 data->InitializePlatformSpecific(arraysize(registers), registers); | 172 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 180 } | 173 } |
| 181 | 174 |
| 182 | 175 |
| 183 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 176 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 184 CallInterfaceDescriptorData* data) { | 177 CallInterfaceDescriptorData* data) { |
| 185 Register registers[] = {rdi, rdx}; | 178 Register registers[] = {rdi, rdx}; |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 r15, // address of first argument (argv) | 430 r15, // address of first argument (argv) |
| 438 rbx // the runtime function to call | 431 rbx // the runtime function to call |
| 439 }; | 432 }; |
| 440 data->InitializePlatformSpecific(arraysize(registers), registers); | 433 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 441 } | 434 } |
| 442 | 435 |
| 443 } // namespace internal | 436 } // namespace internal |
| 444 } // namespace v8 | 437 } // namespace v8 |
| 445 | 438 |
| 446 #endif // V8_TARGET_ARCH_X64 | 439 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |