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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 } | 317 } |
318 | 318 |
319 | 319 |
320 void CompareDescriptor::InitializePlatformSpecific( | 320 void CompareDescriptor::InitializePlatformSpecific( |
321 CallInterfaceDescriptorData* data) { | 321 CallInterfaceDescriptorData* data) { |
322 Register registers[] = {edx, eax}; | 322 Register registers[] = {edx, eax}; |
323 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 323 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
324 } | 324 } |
325 | 325 |
326 | 326 |
327 void CompareNilDescriptor::InitializePlatformSpecific( | |
328 CallInterfaceDescriptorData* data) { | |
329 Register registers[] = {eax}; | |
330 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
331 } | |
332 | |
333 | |
334 void ToBooleanDescriptor::InitializePlatformSpecific( | 327 void ToBooleanDescriptor::InitializePlatformSpecific( |
335 CallInterfaceDescriptorData* data) { | 328 CallInterfaceDescriptorData* data) { |
336 Register registers[] = {eax}; | 329 Register registers[] = {eax}; |
337 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 330 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
338 } | 331 } |
339 | 332 |
340 | 333 |
341 void BinaryOpDescriptor::InitializePlatformSpecific( | 334 void BinaryOpDescriptor::InitializePlatformSpecific( |
342 CallInterfaceDescriptorData* data) { | 335 CallInterfaceDescriptorData* data) { |
343 Register registers[] = {edx, eax}; | 336 Register registers[] = {edx, eax}; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 ecx, // address of first argument (argv) | 451 ecx, // address of first argument (argv) |
459 ebx // the runtime function to call | 452 ebx // the runtime function to call |
460 }; | 453 }; |
461 data->InitializePlatformSpecific(arraysize(registers), registers); | 454 data->InitializePlatformSpecific(arraysize(registers), registers); |
462 } | 455 } |
463 | 456 |
464 } // namespace internal | 457 } // namespace internal |
465 } // namespace v8 | 458 } // namespace v8 |
466 | 459 |
467 #endif // V8_TARGET_ARCH_IA32 | 460 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |