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