| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 Register registers[] = {a1}; | 276 Register registers[] = {a1}; |
| 277 data->InitializePlatformSpecific(arraysize(registers), registers); | 277 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 278 } | 278 } |
| 279 | 279 |
| 280 void StringAddDescriptor::InitializePlatformSpecific( | 280 void StringAddDescriptor::InitializePlatformSpecific( |
| 281 CallInterfaceDescriptorData* data) { | 281 CallInterfaceDescriptorData* data) { |
| 282 Register registers[] = {a1, a0}; | 282 Register registers[] = {a1, a0}; |
| 283 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 283 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 284 } | 284 } |
| 285 | 285 |
| 286 | |
| 287 void KeyedDescriptor::InitializePlatformSpecific( | |
| 288 CallInterfaceDescriptorData* data) { | |
| 289 Register registers[] = { | |
| 290 a2, // key | |
| 291 }; | |
| 292 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 293 } | |
| 294 | |
| 295 | |
| 296 void NamedDescriptor::InitializePlatformSpecific( | |
| 297 CallInterfaceDescriptorData* data) { | |
| 298 Register registers[] = { | |
| 299 a2, // name | |
| 300 }; | |
| 301 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 302 } | |
| 303 | |
| 304 | |
| 305 void CallHandlerDescriptor::InitializePlatformSpecific( | |
| 306 CallInterfaceDescriptorData* data) { | |
| 307 Register registers[] = { | |
| 308 a0, // receiver | |
| 309 }; | |
| 310 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 311 } | |
| 312 | |
| 313 | |
| 314 void ArgumentAdaptorDescriptor::InitializePlatformSpecific( | 286 void ArgumentAdaptorDescriptor::InitializePlatformSpecific( |
| 315 CallInterfaceDescriptorData* data) { | 287 CallInterfaceDescriptorData* data) { |
| 316 Register registers[] = { | 288 Register registers[] = { |
| 317 a1, // JSFunction | 289 a1, // JSFunction |
| 318 a3, // the new target | 290 a3, // the new target |
| 319 a0, // actual number of arguments | 291 a0, // actual number of arguments |
| 320 a2, // expected number of arguments | 292 a2, // expected number of arguments |
| 321 }; | 293 }; |
| 322 data->InitializePlatformSpecific(arraysize(registers), registers); | 294 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 323 } | 295 } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 Register registers[] = { | 371 Register registers[] = { |
| 400 a1, // loaded new FP | 372 a1, // loaded new FP |
| 401 }; | 373 }; |
| 402 data->InitializePlatformSpecific(arraysize(registers), registers); | 374 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 403 } | 375 } |
| 404 | 376 |
| 405 } // namespace internal | 377 } // namespace internal |
| 406 } // namespace v8 | 378 } // namespace v8 |
| 407 | 379 |
| 408 #endif // V8_TARGET_ARCH_MIPS64 | 380 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |