| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 } | 164 } |
| 165 | 165 |
| 166 | 166 |
| 167 void CreateWeakCellDescriptor::InitializePlatformSpecific( | 167 void CreateWeakCellDescriptor::InitializePlatformSpecific( |
| 168 CallInterfaceDescriptorData* data) { | 168 CallInterfaceDescriptorData* data) { |
| 169 Register registers[] = {ebx, edx, edi}; | 169 Register registers[] = {ebx, edx, edi}; |
| 170 data->InitializePlatformSpecific(arraysize(registers), registers); | 170 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 171 } | 171 } |
| 172 | 172 |
| 173 | 173 |
| 174 void StoreArrayLiteralElementDescriptor::InitializePlatformSpecific( | |
| 175 CallInterfaceDescriptorData* data) { | |
| 176 Register registers[] = {ecx, eax}; | |
| 177 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
| 178 } | |
| 179 | |
| 180 | |
| 181 void CallFunctionDescriptor::InitializePlatformSpecific( | 174 void CallFunctionDescriptor::InitializePlatformSpecific( |
| 182 CallInterfaceDescriptorData* data) { | 175 CallInterfaceDescriptorData* data) { |
| 183 Register registers[] = {edi}; | 176 Register registers[] = {edi}; |
| 184 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 177 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 185 } | 178 } |
| 186 | 179 |
| 187 | 180 |
| 188 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 181 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 189 CallInterfaceDescriptorData* data) { | 182 CallInterfaceDescriptorData* data) { |
| 190 Register registers[] = {edi, edx}; | 183 Register registers[] = {edi, edx}; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 ecx, // address of first argument (argv) | 437 ecx, // address of first argument (argv) |
| 445 ebx // the runtime function to call | 438 ebx // the runtime function to call |
| 446 }; | 439 }; |
| 447 data->InitializePlatformSpecific(arraysize(registers), registers); | 440 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 448 } | 441 } |
| 449 | 442 |
| 450 } // namespace internal | 443 } // namespace internal |
| 451 } // namespace v8 | 444 } // namespace v8 |
| 452 | 445 |
| 453 #endif // V8_TARGET_ARCH_IA32 | 446 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |