| 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_X87 | 7 #if V8_TARGET_ARCH_X87 |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 CallInterfaceDescriptorData* data) { | 221 CallInterfaceDescriptorData* data) { |
| 222 // stack param count needs (constructor pointer, and single argument) | 222 // stack param count needs (constructor pointer, and single argument) |
| 223 Register registers[] = {esi, edi, eax}; | 223 Register registers[] = {esi, edi, eax}; |
| 224 Representation representations[] = {Representation::Tagged(), | 224 Representation representations[] = {Representation::Tagged(), |
| 225 Representation::Tagged(), | 225 Representation::Tagged(), |
| 226 Representation::Integer32()}; | 226 Representation::Integer32()}; |
| 227 data->Initialize(arraysize(registers), registers, representations); | 227 data->Initialize(arraysize(registers), registers, representations); |
| 228 } | 228 } |
| 229 | 229 |
| 230 | 230 |
| 231 void CompareDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 232 Register registers[] = {esi, edx, eax}; |
| 233 data->Initialize(arraysize(registers), registers, NULL); |
| 234 } |
| 235 |
| 236 |
| 231 void CompareNilDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 237 void CompareNilDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 232 Register registers[] = {esi, eax}; | 238 Register registers[] = {esi, eax}; |
| 233 data->Initialize(arraysize(registers), registers, NULL); | 239 data->Initialize(arraysize(registers), registers, NULL); |
| 234 } | 240 } |
| 235 | 241 |
| 236 | 242 |
| 237 void ToBooleanDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 243 void ToBooleanDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 238 Register registers[] = {esi, eax}; | 244 Register registers[] = {esi, eax}; |
| 239 data->Initialize(arraysize(registers), registers, NULL); | 245 data->Initialize(arraysize(registers), registers, NULL); |
| 240 } | 246 } |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 Representation::Tagged(), // call_data | 356 Representation::Tagged(), // call_data |
| 351 Representation::Tagged(), // holder | 357 Representation::Tagged(), // holder |
| 352 Representation::External(), // api_function_address | 358 Representation::External(), // api_function_address |
| 353 }; | 359 }; |
| 354 data->Initialize(arraysize(registers), registers, representations); | 360 data->Initialize(arraysize(registers), registers, representations); |
| 355 } | 361 } |
| 356 } | 362 } |
| 357 } // namespace v8::internal | 363 } // namespace v8::internal |
| 358 | 364 |
| 359 #endif // V8_TARGET_ARCH_X87 | 365 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |