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 | |
329 void ToBooleanDescriptor::InitializePlatformSpecific( | 322 void ToBooleanDescriptor::InitializePlatformSpecific( |
330 CallInterfaceDescriptorData* data) { | 323 CallInterfaceDescriptorData* data) { |
331 Register registers[] = {r0}; | 324 Register registers[] = {r0}; |
332 data->InitializePlatformSpecific(arraysize(registers), registers); | 325 data->InitializePlatformSpecific(arraysize(registers), registers); |
333 } | 326 } |
334 | 327 |
335 | 328 |
336 void BinaryOpDescriptor::InitializePlatformSpecific( | 329 void BinaryOpDescriptor::InitializePlatformSpecific( |
337 CallInterfaceDescriptorData* data) { | 330 CallInterfaceDescriptorData* data) { |
338 Register registers[] = {r1, r0}; | 331 Register registers[] = {r1, r0}; |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 r2, // address of first argument (argv) | 471 r2, // address of first argument (argv) |
479 r1 // the runtime function to call | 472 r1 // the runtime function to call |
480 }; | 473 }; |
481 data->InitializePlatformSpecific(arraysize(registers), registers); | 474 data->InitializePlatformSpecific(arraysize(registers), registers); |
482 } | 475 } |
483 | 476 |
484 } // namespace internal | 477 } // namespace internal |
485 } // namespace v8 | 478 } // namespace v8 |
486 | 479 |
487 #endif // V8_TARGET_ARCH_ARM | 480 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |