| 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 | |
| 67 const Register ApiGetterDescriptor::function_address() { return edx; } | 62 const Register ApiGetterDescriptor::function_address() { return edx; } |
| 68 | 63 |
| 69 | 64 |
| 70 const Register MathPowTaggedDescriptor::exponent() { return eax; } | 65 const Register MathPowTaggedDescriptor::exponent() { return eax; } |
| 71 | 66 |
| 72 | 67 |
| 73 const Register MathPowIntegerDescriptor::exponent() { | 68 const Register MathPowIntegerDescriptor::exponent() { |
| 74 return MathPowTaggedDescriptor::exponent(); | 69 return MathPowTaggedDescriptor::exponent(); |
| 75 } | 70 } |
| 76 | 71 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 93 } | 88 } |
| 94 | 89 |
| 95 | 90 |
| 96 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 97 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
| 98 Register registers[] = {edi}; | 93 Register registers[] = {edi}; |
| 99 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 94 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 100 } | 95 } |
| 101 | 96 |
| 102 | 97 |
| 98 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
| 99 CallInterfaceDescriptorData* data) { |
| 100 Register registers[] = {edi}; |
| 101 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 102 } |
| 103 |
| 104 |
| 103 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | 105 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 104 CallInterfaceDescriptorData* data) { | 106 CallInterfaceDescriptorData* data) { |
| 105 Register registers[] = {edi}; | 107 Register registers[] = {edi}; |
| 106 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 108 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 107 } | 109 } |
| 108 | 110 |
| 109 | 111 |
| 110 void ToNumberDescriptor::InitializePlatformSpecific( | 112 void ToNumberDescriptor::InitializePlatformSpecific( |
| 111 CallInterfaceDescriptorData* data) { | 113 CallInterfaceDescriptorData* data) { |
| 112 // ToNumberStub invokes a function, and therefore needs a context. | 114 // ToNumberStub invokes a function, and therefore needs a context. |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 ecx, // address of first argument (argv) | 453 ecx, // address of first argument (argv) |
| 452 ebx // the runtime function to call | 454 ebx // the runtime function to call |
| 453 }; | 455 }; |
| 454 data->InitializePlatformSpecific(arraysize(registers), registers); | 456 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 455 } | 457 } |
| 456 | 458 |
| 457 } // namespace internal | 459 } // namespace internal |
| 458 } // namespace v8 | 460 } // namespace v8 |
| 459 | 461 |
| 460 #endif // V8_TARGET_ARCH_IA32 | 462 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |