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 #include "src/arm/interface-descriptors-arm.h" | 5 #include "src/arm/interface-descriptors-arm.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 } | 312 } |
313 | 313 |
314 | 314 |
315 void CompareDescriptor::InitializePlatformSpecific( | 315 void CompareDescriptor::InitializePlatformSpecific( |
316 CallInterfaceDescriptorData* data) { | 316 CallInterfaceDescriptorData* data) { |
317 Register registers[] = {r1, r0}; | 317 Register registers[] = {r1, r0}; |
318 data->InitializePlatformSpecific(arraysize(registers), registers); | 318 data->InitializePlatformSpecific(arraysize(registers), registers); |
319 } | 319 } |
320 | 320 |
321 | 321 |
| 322 void CompareNilDescriptor::InitializePlatformSpecific( |
| 323 CallInterfaceDescriptorData* data) { |
| 324 Register registers[] = {r0}; |
| 325 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 326 } |
| 327 |
| 328 |
322 void ToBooleanDescriptor::InitializePlatformSpecific( | 329 void ToBooleanDescriptor::InitializePlatformSpecific( |
323 CallInterfaceDescriptorData* data) { | 330 CallInterfaceDescriptorData* data) { |
324 Register registers[] = {r0}; | 331 Register registers[] = {r0}; |
325 data->InitializePlatformSpecific(arraysize(registers), registers); | 332 data->InitializePlatformSpecific(arraysize(registers), registers); |
326 } | 333 } |
327 | 334 |
328 | 335 |
329 void BinaryOpDescriptor::InitializePlatformSpecific( | 336 void BinaryOpDescriptor::InitializePlatformSpecific( |
330 CallInterfaceDescriptorData* data) { | 337 CallInterfaceDescriptorData* data) { |
331 Register registers[] = {r1, r0}; | 338 Register registers[] = {r1, r0}; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 r2, // address of first argument (argv) | 478 r2, // address of first argument (argv) |
472 r1 // the runtime function to call | 479 r1 // the runtime function to call |
473 }; | 480 }; |
474 data->InitializePlatformSpecific(arraysize(registers), registers); | 481 data->InitializePlatformSpecific(arraysize(registers), registers); |
475 } | 482 } |
476 | 483 |
477 } // namespace internal | 484 } // namespace internal |
478 } // namespace v8 | 485 } // namespace v8 |
479 | 486 |
480 #endif // V8_TARGET_ARCH_ARM | 487 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |