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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 data->Initialize(arraysize(registers), registers, NULL); | 76 data->Initialize(arraysize(registers), registers, NULL); |
77 } | 77 } |
78 | 78 |
79 | 79 |
80 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 80 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
81 Register registers[] = {cp, r0}; | 81 Register registers[] = {cp, r0}; |
82 data->Initialize(arraysize(registers), registers, NULL); | 82 data->Initialize(arraysize(registers), registers, NULL); |
83 } | 83 } |
84 | 84 |
85 | 85 |
| 86 void TypeofDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 87 Register registers[] = {cp, r3}; |
| 88 data->Initialize(arraysize(registers), registers, NULL); |
| 89 } |
| 90 |
| 91 |
86 void FastCloneShallowArrayDescriptor::Initialize( | 92 void FastCloneShallowArrayDescriptor::Initialize( |
87 CallInterfaceDescriptorData* data) { | 93 CallInterfaceDescriptorData* data) { |
88 Register registers[] = {cp, r3, r2, r1}; | 94 Register registers[] = {cp, r3, r2, r1}; |
89 Representation representations[] = { | 95 Representation representations[] = { |
90 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), | 96 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), |
91 Representation::Tagged()}; | 97 Representation::Tagged()}; |
92 data->Initialize(arraysize(registers), registers, representations); | 98 data->Initialize(arraysize(registers), registers, representations); |
93 } | 99 } |
94 | 100 |
95 | 101 |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 Representation::Tagged(), // holder | 390 Representation::Tagged(), // holder |
385 Representation::External(), // api_function_address | 391 Representation::External(), // api_function_address |
386 }; | 392 }; |
387 data->Initialize(arraysize(registers), registers, representations, | 393 data->Initialize(arraysize(registers), registers, representations, |
388 &default_descriptor); | 394 &default_descriptor); |
389 } | 395 } |
390 } | 396 } |
391 } // namespace v8::internal | 397 } // namespace v8::internal |
392 | 398 |
393 #endif // V8_TARGET_ARCH_ARM | 399 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |