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_X87 | 5 #if V8_TARGET_ARCH_X87 |
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 void ConstructTrampolineDescriptor::InitializePlatformSpecific( | 195 void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
196 CallInterfaceDescriptorData* data) { | 196 CallInterfaceDescriptorData* data) { |
197 // eax : number of arguments | 197 // eax : number of arguments |
198 // edx : the new target | 198 // edx : the new target |
199 // edi : the target to call | 199 // edi : the target to call |
200 Register registers[] = {edi, edx, eax}; | 200 Register registers[] = {edi, edx, eax}; |
201 data->InitializePlatformSpecific(arraysize(registers), registers); | 201 data->InitializePlatformSpecific(arraysize(registers), registers); |
202 } | 202 } |
203 | 203 |
204 | 204 |
205 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | |
206 CallInterfaceDescriptorData* data) { | |
207 Register registers[] = {ecx, ebx, eax}; | |
208 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
209 } | |
210 | |
211 | |
212 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 205 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
213 CallInterfaceDescriptorData* data) { | 206 CallInterfaceDescriptorData* data) { |
214 Register registers[] = {eax, ebx}; | 207 Register registers[] = {eax, ebx}; |
215 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 208 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
216 } | 209 } |
217 | 210 |
218 | 211 |
219 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 212 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
220 CallInterfaceDescriptorData* data) { | 213 CallInterfaceDescriptorData* data) { |
221 // register state | 214 // register state |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 ebx, // the JSGeneratorObject to resume | 411 ebx, // the JSGeneratorObject to resume |
419 edx // the resume mode (tagged) | 412 edx // the resume mode (tagged) |
420 }; | 413 }; |
421 data->InitializePlatformSpecific(arraysize(registers), registers); | 414 data->InitializePlatformSpecific(arraysize(registers), registers); |
422 } | 415 } |
423 | 416 |
424 } // namespace internal | 417 } // namespace internal |
425 } // namespace v8 | 418 } // namespace v8 |
426 | 419 |
427 #endif // V8_TARGET_ARCH_X87 | 420 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |