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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 // a2 : feedback vector | 183 // a2 : feedback vector |
184 // a3 : slot in feedback vector (Smi, for RecordCallTarget) | 184 // a3 : slot in feedback vector (Smi, for RecordCallTarget) |
185 // a4 : original constructor (for IsSuperConstructorCall) | 185 // a4 : original constructor (for IsSuperConstructorCall) |
186 // TODO(turbofan): So far we don't gather type feedback and hence skip the | 186 // TODO(turbofan): So far we don't gather type feedback and hence skip the |
187 // slot parameter, but ArrayConstructStub needs the vector to be undefined. | 187 // slot parameter, but ArrayConstructStub needs the vector to be undefined. |
188 Register registers[] = {a0, a1, a4, a2}; | 188 Register registers[] = {a0, a1, a4, a2}; |
189 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 189 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
190 } | 190 } |
191 | 191 |
192 | 192 |
| 193 void CallTrampolineDescriptor::InitializePlatformSpecific( |
| 194 CallInterfaceDescriptorData* data) { |
| 195 // a1: target |
| 196 // a0: number of arguments |
| 197 Register registers[] = {a1, a0}; |
| 198 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 199 } |
| 200 |
| 201 |
193 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | 202 void RegExpConstructResultDescriptor::InitializePlatformSpecific( |
194 CallInterfaceDescriptorData* data) { | 203 CallInterfaceDescriptorData* data) { |
195 Register registers[] = {a2, a1, a0}; | 204 Register registers[] = {a2, a1, a0}; |
196 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 205 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
197 } | 206 } |
198 | 207 |
199 | 208 |
200 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 209 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
201 CallInterfaceDescriptorData* data) { | 210 CallInterfaceDescriptorData* data) { |
202 Register registers[] = {a0, a1}; | 211 Register registers[] = {a0, a1}; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 a1, // math rounding function | 378 a1, // math rounding function |
370 a3, // vector slot id | 379 a3, // vector slot id |
371 a2, // type vector | 380 a2, // type vector |
372 }; | 381 }; |
373 data->InitializePlatformSpecific(arraysize(registers), registers); | 382 data->InitializePlatformSpecific(arraysize(registers), registers); |
374 } | 383 } |
375 } // namespace internal | 384 } // namespace internal |
376 } // namespace v8 | 385 } // namespace v8 |
377 | 386 |
378 #endif // V8_TARGET_ARCH_MIPS64 | 387 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |