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 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 V(StringAdd) \ | 50 V(StringAdd) \ |
51 V(Keyed) \ | 51 V(Keyed) \ |
52 V(Named) \ | 52 V(Named) \ |
53 V(CallHandler) \ | 53 V(CallHandler) \ |
54 V(ArgumentAdaptor) \ | 54 V(ArgumentAdaptor) \ |
55 V(ApiFunction) \ | 55 V(ApiFunction) \ |
56 V(ApiAccessor) \ | 56 V(ApiAccessor) \ |
57 V(ApiGetter) \ | 57 V(ApiGetter) \ |
58 V(ArgumentsAccessRead) \ | 58 V(ArgumentsAccessRead) \ |
59 V(StoreArrayLiteralElement) \ | 59 V(StoreArrayLiteralElement) \ |
| 60 V(LoadGlobalViaContext) \ |
| 61 V(StoreGlobalViaContext) \ |
60 V(MathPowTagged) \ | 62 V(MathPowTagged) \ |
61 V(MathPowInteger) \ | 63 V(MathPowInteger) \ |
62 V(ContextOnly) \ | 64 V(ContextOnly) \ |
63 V(GrowArrayElements) \ | 65 V(GrowArrayElements) \ |
64 V(MathRoundVariant) | 66 V(MathRoundVariant) |
65 | 67 |
66 | 68 |
67 class CallInterfaceDescriptorData { | 69 class CallInterfaceDescriptorData { |
68 public: | 70 public: |
69 CallInterfaceDescriptorData() | 71 CallInterfaceDescriptorData() |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) | 420 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) |
419 }; | 421 }; |
420 | 422 |
421 | 423 |
422 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor { | 424 class RegExpConstructResultDescriptor : public CallInterfaceDescriptor { |
423 public: | 425 public: |
424 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) | 426 DECLARE_DESCRIPTOR(RegExpConstructResultDescriptor, CallInterfaceDescriptor) |
425 }; | 427 }; |
426 | 428 |
427 | 429 |
| 430 class LoadGlobalViaContextDescriptor : public CallInterfaceDescriptor { |
| 431 public: |
| 432 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(LoadGlobalViaContextDescriptor, |
| 433 CallInterfaceDescriptor) |
| 434 |
| 435 static const Register DepthRegister(); |
| 436 static const Register SlotRegister(); |
| 437 static const Register NameRegister(); |
| 438 }; |
| 439 |
| 440 |
| 441 class StoreGlobalViaContextDescriptor : public CallInterfaceDescriptor { |
| 442 public: |
| 443 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(StoreGlobalViaContextDescriptor, |
| 444 CallInterfaceDescriptor) |
| 445 |
| 446 static const Register DepthRegister(); |
| 447 static const Register SlotRegister(); |
| 448 static const Register NameRegister(); |
| 449 static const Register ValueRegister(); |
| 450 }; |
| 451 |
| 452 |
428 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { | 453 class TransitionElementsKindDescriptor : public CallInterfaceDescriptor { |
429 public: | 454 public: |
430 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) | 455 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) |
431 }; | 456 }; |
432 | 457 |
433 | 458 |
434 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { | 459 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { |
435 public: | 460 public: |
436 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor) | 461 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor) |
437 }; | 462 }; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 } // namespace v8::internal | 644 } // namespace v8::internal |
620 | 645 |
621 | 646 |
622 #if V8_TARGET_ARCH_ARM64 | 647 #if V8_TARGET_ARCH_ARM64 |
623 #include "src/arm64/interface-descriptors-arm64.h" | 648 #include "src/arm64/interface-descriptors-arm64.h" |
624 #elif V8_TARGET_ARCH_ARM | 649 #elif V8_TARGET_ARCH_ARM |
625 #include "src/arm/interface-descriptors-arm.h" | 650 #include "src/arm/interface-descriptors-arm.h" |
626 #endif | 651 #endif |
627 | 652 |
628 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 653 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |