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/v8.h" | 5 #include "src/v8.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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 void FastCloneShallowObjectDescriptor::Initialize( | 91 void FastCloneShallowObjectDescriptor::Initialize( |
92 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
93 Register registers[] = {cp, r3, r2, r1, r0}; | 93 Register registers[] = {cp, r3, r2, r1, r0}; |
94 data->Initialize(arraysize(registers), registers, NULL); | 94 data->Initialize(arraysize(registers), registers, NULL); |
95 } | 95 } |
96 | 96 |
97 | 97 |
98 void CreateAllocationSiteDescriptor::Initialize( | 98 void CreateAllocationSiteDescriptor::Initialize( |
99 CallInterfaceDescriptorData* data) { | 99 CallInterfaceDescriptorData* data) { |
100 Register registers[] = {cp, r2, r3}; | 100 Register registers[] = {cp, r2, r3}; |
101 Representation representations[] = {Representation::Tagged(), | 101 data->Initialize(arraysize(registers), registers, NULL); |
102 Representation::Tagged(), | |
103 Representation::Smi()}; | |
104 data->Initialize(arraysize(registers), registers, representations); | |
105 } | 102 } |
106 | 103 |
107 | 104 |
108 void CreateWeakCellDescriptor::Initialize(CallInterfaceDescriptorData* data) { | |
109 Register registers[] = {cp, r2, r3, r1}; | |
110 Representation representations[] = { | |
111 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), | |
112 Representation::Tagged()}; | |
113 data->Initialize(arraysize(registers), registers, representations); | |
114 } | |
115 | |
116 | |
117 void StoreArrayLiteralElementDescriptor::Initialize( | 105 void StoreArrayLiteralElementDescriptor::Initialize( |
118 CallInterfaceDescriptorData* data) { | 106 CallInterfaceDescriptorData* data) { |
119 Register registers[] = {cp, r3, r0}; | 107 Register registers[] = {cp, r3, r0}; |
120 data->Initialize(arraysize(registers), registers, NULL); | 108 data->Initialize(arraysize(registers), registers, NULL); |
121 } | 109 } |
122 | 110 |
123 | 111 |
124 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 112 void CallFunctionDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
125 Register registers[] = {cp, r1}; | 113 Register registers[] = {cp, r1}; |
126 data->Initialize(arraysize(registers), registers, NULL); | 114 data->Initialize(arraysize(registers), registers, NULL); |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 Representation::Tagged(), // holder | 361 Representation::Tagged(), // holder |
374 Representation::External(), // api_function_address | 362 Representation::External(), // api_function_address |
375 }; | 363 }; |
376 data->Initialize(arraysize(registers), registers, representations, | 364 data->Initialize(arraysize(registers), registers, representations, |
377 &default_descriptor); | 365 &default_descriptor); |
378 } | 366 } |
379 } | 367 } |
380 } // namespace v8::internal | 368 } // namespace v8::internal |
381 | 369 |
382 #endif // V8_TARGET_ARCH_ARM | 370 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |