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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 } | 145 } |
146 | 146 |
147 | 147 |
148 void TransitionElementsKindDescriptor::Initialize( | 148 void TransitionElementsKindDescriptor::Initialize( |
149 CallInterfaceDescriptorData* data) { | 149 CallInterfaceDescriptorData* data) { |
150 Register registers[] = {cp, a0, a1}; | 150 Register registers[] = {cp, a0, a1}; |
151 data->Initialize(arraysize(registers), registers, NULL); | 151 data->Initialize(arraysize(registers), registers, NULL); |
152 } | 152 } |
153 | 153 |
154 | 154 |
| 155 void AllocateHeapNumberDescriptor::Initialize( |
| 156 CallInterfaceDescriptorData* data) { |
| 157 // register state |
| 158 // cp -- context |
| 159 Register registers[] = {cp}; |
| 160 data->Initialize(arraysize(registers), registers, nullptr); |
| 161 } |
| 162 |
| 163 |
155 void ArrayConstructorConstantArgCountDescriptor::Initialize( | 164 void ArrayConstructorConstantArgCountDescriptor::Initialize( |
156 CallInterfaceDescriptorData* data) { | 165 CallInterfaceDescriptorData* data) { |
157 // register state | 166 // register state |
158 // cp -- context | 167 // cp -- context |
159 // a0 -- number of arguments | 168 // a0 -- number of arguments |
160 // a1 -- function | 169 // a1 -- function |
161 // a2 -- allocation site with elements kind | 170 // a2 -- allocation site with elements kind |
162 Register registers[] = {cp, a1, a2}; | 171 Register registers[] = {cp, a1, a2}; |
163 data->Initialize(arraysize(registers), registers, NULL); | 172 data->Initialize(arraysize(registers), registers, NULL); |
164 } | 173 } |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 Representation::Tagged(), // call_data | 306 Representation::Tagged(), // call_data |
298 Representation::Tagged(), // holder | 307 Representation::Tagged(), // holder |
299 Representation::External(), // api_function_address | 308 Representation::External(), // api_function_address |
300 }; | 309 }; |
301 data->Initialize(arraysize(registers), registers, representations); | 310 data->Initialize(arraysize(registers), registers, representations); |
302 } | 311 } |
303 } | 312 } |
304 } // namespace v8::internal | 313 } // namespace v8::internal |
305 | 314 |
306 #endif // V8_TARGET_ARCH_MIPS | 315 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |