| 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_X87 | 5 #if V8_TARGET_ARCH_X87 |
| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 data->InitializePlatformSpecific(arraysize(registers), registers); | 132 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 133 } | 133 } |
| 134 | 134 |
| 135 | 135 |
| 136 void CallFunctionDescriptor::InitializePlatformSpecific( | 136 void CallFunctionDescriptor::InitializePlatformSpecific( |
| 137 CallInterfaceDescriptorData* data) { | 137 CallInterfaceDescriptorData* data) { |
| 138 Register registers[] = {edi}; | 138 Register registers[] = {edi}; |
| 139 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 139 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 140 } | 140 } |
| 141 | 141 |
| 142 | 142 void CallICTrampolineDescriptor::InitializePlatformSpecific( |
| 143 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | |
| 144 CallInterfaceDescriptorData* data) { | 143 CallInterfaceDescriptorData* data) { |
| 145 Register registers[] = {edi, eax, edx}; | 144 Register registers[] = {edi, eax, edx}; |
| 146 data->InitializePlatformSpecific(arraysize(registers), registers); | 145 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 147 } | 146 } |
| 148 | 147 |
| 149 | 148 void CallICDescriptor::InitializePlatformSpecific( |
| 150 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | |
| 151 CallInterfaceDescriptorData* data) { | 149 CallInterfaceDescriptorData* data) { |
| 152 Register registers[] = {edi, eax, edx, ebx}; | 150 Register registers[] = {edi, eax, edx, ebx}; |
| 153 data->InitializePlatformSpecific(arraysize(registers), registers); | 151 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 154 } | 152 } |
| 155 | 153 |
| 156 | 154 |
| 157 void CallConstructDescriptor::InitializePlatformSpecific( | 155 void CallConstructDescriptor::InitializePlatformSpecific( |
| 158 CallInterfaceDescriptorData* data) { | 156 CallInterfaceDescriptorData* data) { |
| 159 // eax : number of arguments | 157 // eax : number of arguments |
| 160 // ebx : feedback vector | 158 // ebx : feedback vector |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 ebx, // the JSGeneratorObject to resume | 405 ebx, // the JSGeneratorObject to resume |
| 408 edx // the resume mode (tagged) | 406 edx // the resume mode (tagged) |
| 409 }; | 407 }; |
| 410 data->InitializePlatformSpecific(arraysize(registers), registers); | 408 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 411 } | 409 } |
| 412 | 410 |
| 413 } // namespace internal | 411 } // namespace internal |
| 414 } // namespace v8 | 412 } // namespace v8 |
| 415 | 413 |
| 416 #endif // V8_TARGET_ARCH_X87 | 414 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |