| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 } | 311 } |
| 312 | 312 |
| 313 | 313 |
| 314 void CompareDescriptor::InitializePlatformSpecific( | 314 void CompareDescriptor::InitializePlatformSpecific( |
| 315 CallInterfaceDescriptorData* data) { | 315 CallInterfaceDescriptorData* data) { |
| 316 Register registers[] = {a1, a0}; | 316 Register registers[] = {a1, a0}; |
| 317 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 317 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 318 } | 318 } |
| 319 | 319 |
| 320 | 320 |
| 321 void CompareNilDescriptor::InitializePlatformSpecific( | |
| 322 CallInterfaceDescriptorData* data) { | |
| 323 Register registers[] = {a0}; | |
| 324 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | |
| 325 } | |
| 326 | |
| 327 | |
| 328 void ToBooleanDescriptor::InitializePlatformSpecific( | 321 void ToBooleanDescriptor::InitializePlatformSpecific( |
| 329 CallInterfaceDescriptorData* data) { | 322 CallInterfaceDescriptorData* data) { |
| 330 Register registers[] = {a0}; | 323 Register registers[] = {a0}; |
| 331 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 324 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 332 } | 325 } |
| 333 | 326 |
| 334 | 327 |
| 335 void BinaryOpDescriptor::InitializePlatformSpecific( | 328 void BinaryOpDescriptor::InitializePlatformSpecific( |
| 336 CallInterfaceDescriptorData* data) { | 329 CallInterfaceDescriptorData* data) { |
| 337 Register registers[] = {a1, a0}; | 330 Register registers[] = {a1, a0}; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 a2, // address of first argument (argv) | 446 a2, // address of first argument (argv) |
| 454 a1 // the runtime function to call | 447 a1 // the runtime function to call |
| 455 }; | 448 }; |
| 456 data->InitializePlatformSpecific(arraysize(registers), registers); | 449 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 457 } | 450 } |
| 458 | 451 |
| 459 } // namespace internal | 452 } // namespace internal |
| 460 } // namespace v8 | 453 } // namespace v8 |
| 461 | 454 |
| 462 #endif // V8_TARGET_ARCH_MIPS64 | 455 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |