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