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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 } | 281 } |
282 | 282 |
283 | 283 |
284 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 284 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
285 CallInterfaceDescriptorData* data) { | 285 CallInterfaceDescriptorData* data) { |
286 // stack param count needs (constructor pointer, and single argument) | 286 // stack param count needs (constructor pointer, and single argument) |
287 Register registers[] = {edi, eax}; | 287 Register registers[] = {edi, eax}; |
288 data->InitializePlatformSpecific(arraysize(registers), registers); | 288 data->InitializePlatformSpecific(arraysize(registers), registers); |
289 } | 289 } |
290 | 290 |
| 291 void FastArrayPushDescriptor::InitializePlatformSpecific( |
| 292 CallInterfaceDescriptorData* data) { |
| 293 // stack param count needs (arg count) |
| 294 Register registers[] = {eax}; |
| 295 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 296 } |
291 | 297 |
292 void CompareDescriptor::InitializePlatformSpecific( | 298 void CompareDescriptor::InitializePlatformSpecific( |
293 CallInterfaceDescriptorData* data) { | 299 CallInterfaceDescriptorData* data) { |
294 Register registers[] = {edx, eax}; | 300 Register registers[] = {edx, eax}; |
295 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 301 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
296 } | 302 } |
297 | 303 |
298 | 304 |
299 void BinaryOpDescriptor::InitializePlatformSpecific( | 305 void BinaryOpDescriptor::InitializePlatformSpecific( |
300 CallInterfaceDescriptorData* data) { | 306 CallInterfaceDescriptorData* data) { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 ecx, // address of first argument (argv) | 408 ecx, // address of first argument (argv) |
403 ebx // the runtime function to call | 409 ebx // the runtime function to call |
404 }; | 410 }; |
405 data->InitializePlatformSpecific(arraysize(registers), registers); | 411 data->InitializePlatformSpecific(arraysize(registers), registers); |
406 } | 412 } |
407 | 413 |
408 } // namespace internal | 414 } // namespace internal |
409 } // namespace v8 | 415 } // namespace v8 |
410 | 416 |
411 #endif // V8_TARGET_ARCH_IA32 | 417 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |