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 #if V8_TARGET_ARCH_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 void ConstructTrampolineDescriptor::InitializePlatformSpecific( | 198 void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
199 CallInterfaceDescriptorData* data) { | 199 CallInterfaceDescriptorData* data) { |
200 // a1: target | 200 // a1: target |
201 // a3: new target | 201 // a3: new target |
202 // a0: number of arguments | 202 // a0: number of arguments |
203 Register registers[] = {a1, a3, a0}; | 203 Register registers[] = {a1, a3, a0}; |
204 data->InitializePlatformSpecific(arraysize(registers), registers); | 204 data->InitializePlatformSpecific(arraysize(registers), registers); |
205 } | 205 } |
206 | 206 |
207 | 207 |
208 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | |
209 CallInterfaceDescriptorData* data) { | |
210 Register registers[] = {a2, a1, a0}; | |
211 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
212 } | |
213 | |
214 | |
215 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 208 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
216 CallInterfaceDescriptorData* data) { | 209 CallInterfaceDescriptorData* data) { |
217 Register registers[] = {a0, a1}; | 210 Register registers[] = {a0, a1}; |
218 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 211 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
219 } | 212 } |
220 | 213 |
221 | 214 |
222 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 215 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
223 CallInterfaceDescriptorData* data) { | 216 CallInterfaceDescriptorData* data) { |
224 // register state | 217 // register state |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 a1, // the JSGeneratorObject to resume | 411 a1, // the JSGeneratorObject to resume |
419 a2 // the resume mode (tagged) | 412 a2 // the resume mode (tagged) |
420 }; | 413 }; |
421 data->InitializePlatformSpecific(arraysize(registers), registers); | 414 data->InitializePlatformSpecific(arraysize(registers), registers); |
422 } | 415 } |
423 | 416 |
424 } // namespace internal | 417 } // namespace internal |
425 } // namespace v8 | 418 } // namespace v8 |
426 | 419 |
427 #endif // V8_TARGET_ARCH_MIPS | 420 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |