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