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 #if V8_TARGET_ARCH_ARM | 5 #if V8_TARGET_ARCH_ARM |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 13 matching lines...) Expand all Loading... |
24 const Register StoreDescriptor::NameRegister() { return r2; } | 24 const Register StoreDescriptor::NameRegister() { return r2; } |
25 const Register StoreDescriptor::ValueRegister() { return r0; } | 25 const Register StoreDescriptor::ValueRegister() { return r0; } |
26 | 26 |
27 | 27 |
28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r4; } | 28 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r4; } |
29 | 29 |
30 | 30 |
31 const Register VectorStoreICDescriptor::VectorRegister() { return r3; } | 31 const Register VectorStoreICDescriptor::VectorRegister() { return r3; } |
32 | 32 |
33 | 33 |
| 34 const Register VectorStoreTransitionDescriptor::SlotRegister() { return r4; } |
| 35 const Register VectorStoreTransitionDescriptor::VectorRegister() { return r3; } |
| 36 const Register VectorStoreTransitionDescriptor::MapRegister() { return r5; } |
| 37 |
| 38 |
34 const Register StoreTransitionDescriptor::MapRegister() { return r3; } | 39 const Register StoreTransitionDescriptor::MapRegister() { return r3; } |
35 | 40 |
36 | 41 |
37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r2; } | 42 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r2; } |
38 | 43 |
39 | 44 |
40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; } | 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; } |
41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; } | 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; } |
42 | 47 |
43 | 48 |
(...skipping 13 matching lines...) Expand all Loading... |
57 | 62 |
58 const Register MathPowIntegerDescriptor::exponent() { | 63 const Register MathPowIntegerDescriptor::exponent() { |
59 return MathPowTaggedDescriptor::exponent(); | 64 return MathPowTaggedDescriptor::exponent(); |
60 } | 65 } |
61 | 66 |
62 | 67 |
63 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } | 68 const Register GrowArrayElementsDescriptor::ObjectRegister() { return r0; } |
64 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } | 69 const Register GrowArrayElementsDescriptor::KeyRegister() { return r3; } |
65 | 70 |
66 | 71 |
67 void StoreTransitionDescriptor::InitializePlatformSpecific( | 72 void VectorStoreTransitionDescriptor::InitializePlatformSpecific( |
68 CallInterfaceDescriptorData* data) { | 73 CallInterfaceDescriptorData* data) { |
69 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), | 74 Register registers[] = {ReceiverRegister(), NameRegister(), ValueRegister(), |
70 MapRegister()}; | 75 SlotRegister(), VectorRegister(), MapRegister()}; |
71 data->InitializePlatformSpecific(arraysize(registers), registers); | 76 data->InitializePlatformSpecific(arraysize(registers), registers); |
72 } | 77 } |
73 | 78 |
74 | 79 |
75 void FastNewClosureDescriptor::InitializePlatformSpecific( | 80 void FastNewClosureDescriptor::InitializePlatformSpecific( |
76 CallInterfaceDescriptorData* data) { | 81 CallInterfaceDescriptorData* data) { |
77 Register registers[] = {r2}; | 82 Register registers[] = {r2}; |
78 data->InitializePlatformSpecific(arraysize(registers), registers); | 83 data->InitializePlatformSpecific(arraysize(registers), registers); |
79 } | 84 } |
80 | 85 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 r1, // math rounding function | 388 r1, // math rounding function |
384 r3, // vector slot id | 389 r3, // vector slot id |
385 r4, // type vector | 390 r4, // type vector |
386 }; | 391 }; |
387 data->InitializePlatformSpecific(arraysize(registers), registers); | 392 data->InitializePlatformSpecific(arraysize(registers), registers); |
388 } | 393 } |
389 } // namespace internal | 394 } // namespace internal |
390 } // namespace v8 | 395 } // namespace v8 |
391 | 396 |
392 #endif // V8_TARGET_ARCH_ARM | 397 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |