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