OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ | 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ |
6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ | 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 class PlatformInterfaceDescriptor; | 14 class PlatformInterfaceDescriptor; |
15 | 15 |
16 #define INTERFACE_DESCRIPTOR_LIST(V) \ | 16 #define INTERFACE_DESCRIPTOR_LIST(V) \ |
17 V(Load) \ | 17 V(Load) \ |
18 V(Store) \ | 18 V(Store) \ |
19 V(StoreTransition) \ | 19 V(StoreTransition) \ |
20 V(ElementTransitionAndStore) \ | |
21 V(VectorStoreICTrampoline) \ | 20 V(VectorStoreICTrampoline) \ |
22 V(VectorStoreIC) \ | 21 V(VectorStoreIC) \ |
23 V(Instanceof) \ | 22 V(Instanceof) \ |
24 V(LoadWithVector) \ | 23 V(LoadWithVector) \ |
25 V(FastNewClosure) \ | 24 V(FastNewClosure) \ |
26 V(FastNewContext) \ | 25 V(FastNewContext) \ |
27 V(ToNumber) \ | 26 V(ToNumber) \ |
28 V(NumberToString) \ | 27 V(NumberToString) \ |
29 V(Typeof) \ | 28 V(Typeof) \ |
30 V(FastCloneShallowArray) \ | 29 V(FastCloneShallowArray) \ |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 kReceiverIndex, | 261 kReceiverIndex, |
263 kNameIndex, | 262 kNameIndex, |
264 kValueIndex, | 263 kValueIndex, |
265 kMapIndex, | 264 kMapIndex, |
266 kParameterCount | 265 kParameterCount |
267 }; | 266 }; |
268 static const Register MapRegister(); | 267 static const Register MapRegister(); |
269 }; | 268 }; |
270 | 269 |
271 | 270 |
272 class ElementTransitionAndStoreDescriptor : public StoreDescriptor { | |
273 public: | |
274 DECLARE_DESCRIPTOR(ElementTransitionAndStoreDescriptor, StoreDescriptor) | |
275 | |
276 static const Register MapRegister(); | |
277 }; | |
278 | |
279 | |
280 class InstanceofDescriptor : public CallInterfaceDescriptor { | 271 class InstanceofDescriptor : public CallInterfaceDescriptor { |
281 public: | 272 public: |
282 DECLARE_DESCRIPTOR(InstanceofDescriptor, CallInterfaceDescriptor) | 273 DECLARE_DESCRIPTOR(InstanceofDescriptor, CallInterfaceDescriptor) |
283 | 274 |
284 enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount }; | 275 enum ParameterIndices { kLeftIndex, kRightIndex, kParameterCount }; |
285 static const Register left(); | 276 static const Register left(); |
286 static const Register right(); | 277 static const Register right(); |
287 }; | 278 }; |
288 | 279 |
289 | 280 |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 } // namespace v8::internal | 646 } // namespace v8::internal |
656 | 647 |
657 | 648 |
658 #if V8_TARGET_ARCH_ARM64 | 649 #if V8_TARGET_ARCH_ARM64 |
659 #include "src/arm64/interface-descriptors-arm64.h" | 650 #include "src/arm64/interface-descriptors-arm64.h" |
660 #elif V8_TARGET_ARCH_ARM | 651 #elif V8_TARGET_ARCH_ARM |
661 #include "src/arm/interface-descriptors-arm.h" | 652 #include "src/arm/interface-descriptors-arm.h" |
662 #endif | 653 #endif |
663 | 654 |
664 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 655 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |