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_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 void FastCloneShallowObjectDescriptor::Initialize( | 91 void FastCloneShallowObjectDescriptor::Initialize( |
92 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
93 Register registers[] = {cp, a3, a2, a1, a0}; | 93 Register registers[] = {cp, a3, a2, a1, a0}; |
94 data->Initialize(arraysize(registers), registers, NULL); | 94 data->Initialize(arraysize(registers), registers, NULL); |
95 } | 95 } |
96 | 96 |
97 | 97 |
98 void CreateAllocationSiteDescriptor::Initialize( | 98 void CreateAllocationSiteDescriptor::Initialize( |
99 CallInterfaceDescriptorData* data) { | 99 CallInterfaceDescriptorData* data) { |
100 Register registers[] = {cp, a2, a3}; | 100 Register registers[] = {cp, a2, a3}; |
101 data->Initialize(arraysize(registers), registers, NULL); | 101 Representation representations[] = {Representation::Tagged(), |
| 102 Representation::Tagged(), |
| 103 Representation::Smi()}; |
| 104 data->Initialize(arraysize(registers), registers, representations); |
102 } | 105 } |
103 | 106 |
104 | 107 |
| 108 void CreateWeakCellDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 109 Register registers[] = {cp, a2, a3, a1}; |
| 110 Representation representations[] = { |
| 111 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), |
| 112 Representation::Tagged()}; |
| 113 data->Initialize(arraysize(registers), registers, representations); |
| 114 } |
| 115 |
| 116 |
105 void StoreArrayLiteralElementDescriptor::Initialize( | 117 void StoreArrayLiteralElementDescriptor::Initialize( |
106 CallInterfaceDescriptorData* data) { | 118 CallInterfaceDescriptorData* data) { |
107 Register registers[] = {cp, a3, a0}; | 119 Register registers[] = {cp, a3, a0}; |
108 data->Initialize(arraysize(registers), registers, NULL); | 120 data->Initialize(arraysize(registers), registers, NULL); |
109 } | 121 } |
110 | 122 |
111 | 123 |
112 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 124 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
113 Register registers[] = {cp, a1}; | 125 Register registers[] = {cp, a1}; |
114 data->Initialize(arraysize(registers), registers, NULL); | 126 data->Initialize(arraysize(registers), registers, NULL); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 Representation::Tagged(), // call_data | 349 Representation::Tagged(), // call_data |
338 Representation::Tagged(), // holder | 350 Representation::Tagged(), // holder |
339 Representation::External(), // api_function_address | 351 Representation::External(), // api_function_address |
340 }; | 352 }; |
341 data->Initialize(arraysize(registers), registers, representations); | 353 data->Initialize(arraysize(registers), registers, representations); |
342 } | 354 } |
343 } | 355 } |
344 } // namespace v8::internal | 356 } // namespace v8::internal |
345 | 357 |
346 #endif // V8_TARGET_ARCH_MIPS | 358 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |