| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 | 53 |
| 54 const Register InstanceOfDescriptor::LeftRegister() { return edx; } | 54 const Register InstanceOfDescriptor::LeftRegister() { return edx; } |
| 55 const Register InstanceOfDescriptor::RightRegister() { return eax; } | 55 const Register InstanceOfDescriptor::RightRegister() { return eax; } |
| 56 | 56 |
| 57 | 57 |
| 58 const Register StringCompareDescriptor::LeftRegister() { return edx; } | 58 const Register StringCompareDescriptor::LeftRegister() { return edx; } |
| 59 const Register StringCompareDescriptor::RightRegister() { return eax; } | 59 const Register StringCompareDescriptor::RightRegister() { return eax; } |
| 60 | 60 |
| 61 | 61 |
| 62 const Register ArgumentsAccessNewDescriptor::function() { return edi; } |
| 63 const Register ArgumentsAccessNewDescriptor::parameter_count() { return ecx; } |
| 64 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return edx; } |
| 65 |
| 66 |
| 62 const Register ApiGetterDescriptor::function_address() { return edx; } | 67 const Register ApiGetterDescriptor::function_address() { return edx; } |
| 63 | 68 |
| 64 | 69 |
| 65 const Register MathPowTaggedDescriptor::exponent() { return eax; } | 70 const Register MathPowTaggedDescriptor::exponent() { return eax; } |
| 66 | 71 |
| 67 | 72 |
| 68 const Register MathPowIntegerDescriptor::exponent() { | 73 const Register MathPowIntegerDescriptor::exponent() { |
| 69 return MathPowTaggedDescriptor::exponent(); | 74 return MathPowTaggedDescriptor::exponent(); |
| 70 } | 75 } |
| 71 | 76 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 85 CallInterfaceDescriptorData* data) { | 90 CallInterfaceDescriptorData* data) { |
| 86 Register registers[] = {edi}; | 91 Register registers[] = {edi}; |
| 87 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 92 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 88 } | 93 } |
| 89 | 94 |
| 90 | 95 |
| 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 96 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 92 CallInterfaceDescriptorData* data) { | 97 CallInterfaceDescriptorData* data) { |
| 93 Register registers[] = {edi}; | 98 Register registers[] = {edi}; |
| 94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 99 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 95 } | |
| 96 | |
| 97 | |
| 98 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | |
| 99 CallInterfaceDescriptorData* data) { | |
| 100 Register registers[] = {edi}; | |
| 101 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
| 102 } | 100 } |
| 103 | 101 |
| 104 | 102 |
| 105 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | 103 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 106 CallInterfaceDescriptorData* data) { | 104 CallInterfaceDescriptorData* data) { |
| 107 Register registers[] = {edi}; | 105 Register registers[] = {edi}; |
| 108 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 106 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 109 } | 107 } |
| 110 | 108 |
| 111 | 109 |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 ecx, // address of first argument (argv) | 451 ecx, // address of first argument (argv) |
| 454 ebx // the runtime function to call | 452 ebx // the runtime function to call |
| 455 }; | 453 }; |
| 456 data->InitializePlatformSpecific(arraysize(registers), registers); | 454 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 457 } | 455 } |
| 458 | 456 |
| 459 } // namespace internal | 457 } // namespace internal |
| 460 } // namespace v8 | 458 } // namespace v8 |
| 461 | 459 |
| 462 #endif // V8_TARGET_ARCH_IA32 | 460 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |