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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
143 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 143 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |
144 CallInterfaceDescriptorData* data) { | 144 CallInterfaceDescriptorData* data) { |
145 Register registers[] = {edi, edx}; | 145 Register registers[] = {edi, eax, edx}; |
146 data->InitializePlatformSpecific(arraysize(registers), registers); | 146 data->InitializePlatformSpecific(arraysize(registers), registers); |
147 } | 147 } |
148 | 148 |
149 | 149 |
150 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 150 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |
151 CallInterfaceDescriptorData* data) { | 151 CallInterfaceDescriptorData* data) { |
152 Register registers[] = {edi, eax, edx, ebx}; | 152 Register registers[] = {edi, eax, edx, ebx}; |
153 data->InitializePlatformSpecific(arraysize(registers), registers); | 153 data->InitializePlatformSpecific(arraysize(registers), registers); |
154 } | 154 } |
155 | 155 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 ebx, // the JSGeneratorObject to resume | 407 ebx, // the JSGeneratorObject to resume |
408 edx // the resume mode (tagged) | 408 edx // the resume mode (tagged) |
409 }; | 409 }; |
410 data->InitializePlatformSpecific(arraysize(registers), registers); | 410 data->InitializePlatformSpecific(arraysize(registers), registers); |
411 } | 411 } |
412 | 412 |
413 } // namespace internal | 413 } // namespace internal |
414 } // namespace v8 | 414 } // namespace v8 |
415 | 415 |
416 #endif // V8_TARGET_ARCH_X87 | 416 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |