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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } | 63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } |
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } | 64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } |
65 | 65 |
66 | 66 |
67 void FastNewClosureDescriptor::InitializePlatformSpecific( | 67 void FastNewClosureDescriptor::InitializePlatformSpecific( |
68 CallInterfaceDescriptorData* data) { | 68 CallInterfaceDescriptorData* data) { |
69 Register registers[] = {r1, r2, r3}; | 69 Register registers[] = {r1, r2, r3}; |
70 data->InitializePlatformSpecific(arraysize(registers), registers); | 70 data->InitializePlatformSpecific(arraysize(registers), registers); |
71 } | 71 } |
72 | 72 |
73 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | |
74 CallInterfaceDescriptorData* data) { | |
75 Register registers[] = {r1}; | |
76 data->InitializePlatformSpecific(arraysize(registers), registers); | |
77 } | |
78 | |
79 | |
80 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | |
81 CallInterfaceDescriptorData* data) { | |
82 Register registers[] = {r1}; | |
83 data->InitializePlatformSpecific(arraysize(registers), registers); | |
84 } | |
85 | |
86 | |
87 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( | |
88 CallInterfaceDescriptorData* data) { | |
89 Register registers[] = {r1}; | |
90 data->InitializePlatformSpecific(arraysize(registers), registers); | |
91 } | |
92 | |
93 | |
94 // static | 73 // static |
95 const Register TypeConversionDescriptor::ArgumentRegister() { return r0; } | 74 const Register TypeConversionDescriptor::ArgumentRegister() { return r0; } |
96 | 75 |
97 void TypeofDescriptor::InitializePlatformSpecific( | 76 void TypeofDescriptor::InitializePlatformSpecific( |
98 CallInterfaceDescriptorData* data) { | 77 CallInterfaceDescriptorData* data) { |
99 Register registers[] = {r3}; | 78 Register registers[] = {r3}; |
100 data->InitializePlatformSpecific(arraysize(registers), registers); | 79 data->InitializePlatformSpecific(arraysize(registers), registers); |
101 } | 80 } |
102 | 81 |
103 | 82 |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 Register registers[] = { | 426 Register registers[] = { |
448 r1, // loaded new FP | 427 r1, // loaded new FP |
449 }; | 428 }; |
450 data->InitializePlatformSpecific(arraysize(registers), registers); | 429 data->InitializePlatformSpecific(arraysize(registers), registers); |
451 } | 430 } |
452 | 431 |
453 } // namespace internal | 432 } // namespace internal |
454 } // namespace v8 | 433 } // namespace v8 |
455 | 434 |
456 #endif // V8_TARGET_ARCH_ARM | 435 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |