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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 } | 148 } |
149 | 149 |
150 | 150 |
151 void TransitionElementsKindDescriptor::Initialize( | 151 void TransitionElementsKindDescriptor::Initialize( |
152 CallInterfaceDescriptorData* data) { | 152 CallInterfaceDescriptorData* data) { |
153 Register registers[] = {esi, eax, ebx}; | 153 Register registers[] = {esi, eax, ebx}; |
154 data->Initialize(arraysize(registers), registers, NULL); | 154 data->Initialize(arraysize(registers), registers, NULL); |
155 } | 155 } |
156 | 156 |
157 | 157 |
| 158 void AllocateHeapNumberDescriptor::Initialize( |
| 159 CallInterfaceDescriptorData* data) { |
| 160 // register state |
| 161 // esi -- context |
| 162 Register registers[] = {esi}; |
| 163 data->Initialize(arraysize(registers), registers, nullptr); |
| 164 } |
| 165 |
| 166 |
158 void ArrayConstructorConstantArgCountDescriptor::Initialize( | 167 void ArrayConstructorConstantArgCountDescriptor::Initialize( |
159 CallInterfaceDescriptorData* data) { | 168 CallInterfaceDescriptorData* data) { |
160 // register state | 169 // register state |
161 // eax -- number of arguments | 170 // eax -- number of arguments |
162 // edi -- function | 171 // edi -- function |
163 // ebx -- allocation site with elements kind | 172 // ebx -- allocation site with elements kind |
164 Register registers[] = {esi, edi, ebx}; | 173 Register registers[] = {esi, edi, ebx}; |
165 data->Initialize(arraysize(registers), registers, NULL); | 174 data->Initialize(arraysize(registers), registers, NULL); |
166 } | 175 } |
167 | 176 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 Representation::Tagged(), // call_data | 307 Representation::Tagged(), // call_data |
299 Representation::Tagged(), // holder | 308 Representation::Tagged(), // holder |
300 Representation::External(), // api_function_address | 309 Representation::External(), // api_function_address |
301 }; | 310 }; |
302 data->Initialize(arraysize(registers), registers, representations); | 311 data->Initialize(arraysize(registers), registers, representations); |
303 } | 312 } |
304 } | 313 } |
305 } // namespace v8::internal | 314 } // namespace v8::internal |
306 | 315 |
307 #endif // V8_TARGET_ARCH_IA32 | 316 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |