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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 void CallFunctionDescriptor::InitializePlatformSpecific( | 136 void CallFunctionDescriptor::InitializePlatformSpecific( |
137 CallInterfaceDescriptorData* data) { | 137 CallInterfaceDescriptorData* data) { |
138 Register registers[] = {rdi}; | 138 Register registers[] = {rdi}; |
139 data->InitializePlatformSpecific(arraysize(registers), registers); | 139 data->InitializePlatformSpecific(arraysize(registers), registers); |
140 } | 140 } |
141 | 141 |
142 | 142 |
143 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 143 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
144 CallInterfaceDescriptorData* data) { | 144 CallInterfaceDescriptorData* data) { |
145 Register registers[] = {rdi, rdx}; | 145 Register registers[] = {rdi, rax, rdx}; |
146 data->InitializePlatformSpecific(arraysize(registers), registers); | 146 data->InitializePlatformSpecific(arraysize(registers), registers); |
147 } | 147 } |
148 | 148 |
149 | 149 |
150 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 150 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
151 CallInterfaceDescriptorData* data) { | 151 CallInterfaceDescriptorData* data) { |
152 Register registers[] = {rdi, rax, rdx, rbx}; | 152 Register registers[] = {rdi, rax, rdx, rbx}; |
153 data->InitializePlatformSpecific(arraysize(registers), registers); | 153 data->InitializePlatformSpecific(arraysize(registers), registers); |
154 } | 154 } |
155 | 155 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 Register registers[] = { | 420 Register registers[] = { |
421 rbx, // loaded new FP | 421 rbx, // loaded new FP |
422 }; | 422 }; |
423 data->InitializePlatformSpecific(arraysize(registers), registers); | 423 data->InitializePlatformSpecific(arraysize(registers), registers); |
424 } | 424 } |
425 | 425 |
426 } // namespace internal | 426 } // namespace internal |
427 } // namespace v8 | 427 } // namespace v8 |
428 | 428 |
429 #endif // V8_TARGET_ARCH_X64 | 429 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |