| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 void CallFunctionDescriptor::InitializePlatformSpecific( | 138 void CallFunctionDescriptor::InitializePlatformSpecific( |
| 139 CallInterfaceDescriptorData* data) { | 139 CallInterfaceDescriptorData* data) { |
| 140 Register registers[] = {edi}; | 140 Register registers[] = {edi}; |
| 141 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 141 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 142 } | 142 } |
| 143 | 143 |
| 144 | 144 |
| 145 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 145 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
| 146 CallInterfaceDescriptorData* data) { | 146 CallInterfaceDescriptorData* data) { |
| 147 Register registers[] = {edi, edx}; | 147 Register registers[] = {edi, eax, edx}; |
| 148 data->InitializePlatformSpecific(arraysize(registers), registers); | 148 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 149 } | 149 } |
| 150 | 150 |
| 151 | 151 |
| 152 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 152 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
| 153 CallInterfaceDescriptorData* data) { | 153 CallInterfaceDescriptorData* data) { |
| 154 Register registers[] = {edi, eax, edx, ebx}; | 154 Register registers[] = {edi, eax, edx, ebx}; |
| 155 data->InitializePlatformSpecific(arraysize(registers), registers); | 155 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 156 } | 156 } |
| 157 | 157 |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 Register registers[] = { | 424 Register registers[] = { |
| 425 ebx, // loaded new FP | 425 ebx, // loaded new FP |
| 426 }; | 426 }; |
| 427 data->InitializePlatformSpecific(arraysize(registers), registers); | 427 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 428 } | 428 } |
| 429 | 429 |
| 430 } // namespace internal | 430 } // namespace internal |
| 431 } // namespace v8 | 431 } // namespace v8 |
| 432 | 432 |
| 433 #endif // V8_TARGET_ARCH_IA32 | 433 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |