| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 void FastCloneShallowObjectDescriptor::Initialize( | 94 void FastCloneShallowObjectDescriptor::Initialize( |
| 95 CallInterfaceDescriptorData* data) { | 95 CallInterfaceDescriptorData* data) { |
| 96 Register registers[] = {esi, eax, ebx, ecx, edx}; | 96 Register registers[] = {esi, eax, ebx, ecx, edx}; |
| 97 data->Initialize(arraysize(registers), registers, NULL); | 97 data->Initialize(arraysize(registers), registers, NULL); |
| 98 } | 98 } |
| 99 | 99 |
| 100 | 100 |
| 101 void CreateAllocationSiteDescriptor::Initialize( | 101 void CreateAllocationSiteDescriptor::Initialize( |
| 102 CallInterfaceDescriptorData* data) { | 102 CallInterfaceDescriptorData* data) { |
| 103 Register registers[] = {esi, ebx, edx}; | 103 Register registers[] = {esi, ebx, edx}; |
| 104 Representation representations[] = {Representation::Tagged(), | 104 data->Initialize(arraysize(registers), registers, NULL); |
| 105 Representation::Tagged(), | |
| 106 Representation::Smi()}; | |
| 107 data->Initialize(arraysize(registers), registers, representations); | |
| 108 } | 105 } |
| 109 | 106 |
| 110 | 107 |
| 111 void CreateWeakCellDescriptor::Initialize(CallInterfaceDescriptorData* data) { | |
| 112 Register registers[] = {esi, ebx, edx, edi}; | |
| 113 Representation representations[] = { | |
| 114 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), | |
| 115 Representation::Tagged()}; | |
| 116 data->Initialize(arraysize(registers), registers, representations); | |
| 117 } | |
| 118 | |
| 119 | |
| 120 void StoreArrayLiteralElementDescriptor::Initialize( | 108 void StoreArrayLiteralElementDescriptor::Initialize( |
| 121 CallInterfaceDescriptorData* data) { | 109 CallInterfaceDescriptorData* data) { |
| 122 Register registers[] = {esi, ecx, eax}; | 110 Register registers[] = {esi, ecx, eax}; |
| 123 data->Initialize(arraysize(registers), registers, NULL); | 111 data->Initialize(arraysize(registers), registers, NULL); |
| 124 } | 112 } |
| 125 | 113 |
| 126 | 114 |
| 127 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 115 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 128 Register registers[] = {esi, edi}; | 116 Register registers[] = {esi, edi}; |
| 129 data->Initialize(arraysize(registers), registers, NULL); | 117 data->Initialize(arraysize(registers), registers, NULL); |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 Representation::Tagged(), // call_data | 338 Representation::Tagged(), // call_data |
| 351 Representation::Tagged(), // holder | 339 Representation::Tagged(), // holder |
| 352 Representation::External(), // api_function_address | 340 Representation::External(), // api_function_address |
| 353 }; | 341 }; |
| 354 data->Initialize(arraysize(registers), registers, representations); | 342 data->Initialize(arraysize(registers), registers, representations); |
| 355 } | 343 } |
| 356 } | 344 } |
| 357 } // namespace v8::internal | 345 } // namespace v8::internal |
| 358 | 346 |
| 359 #endif // V8_TARGET_ARCH_IA32 | 347 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |