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