Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Side by Side Diff: src/interface-descriptors.h

Issue 1556913002: Use register arguments for RestParamAccessStub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 V(StringCompare) \ 61 V(StringCompare) \
62 V(Keyed) \ 62 V(Keyed) \
63 V(Named) \ 63 V(Named) \
64 V(CallHandler) \ 64 V(CallHandler) \
65 V(ArgumentAdaptor) \ 65 V(ArgumentAdaptor) \
66 V(ApiFunction) \ 66 V(ApiFunction) \
67 V(ApiAccessor) \ 67 V(ApiAccessor) \
68 V(ApiGetter) \ 68 V(ApiGetter) \
69 V(ArgumentsAccessRead) \ 69 V(ArgumentsAccessRead) \
70 V(ArgumentsAccessNew) \ 70 V(ArgumentsAccessNew) \
71 V(RestParamAccess) \
71 V(StoreArrayLiteralElement) \ 72 V(StoreArrayLiteralElement) \
72 V(LoadGlobalViaContext) \ 73 V(LoadGlobalViaContext) \
73 V(StoreGlobalViaContext) \ 74 V(StoreGlobalViaContext) \
74 V(MathPowTagged) \ 75 V(MathPowTagged) \
75 V(MathPowInteger) \ 76 V(MathPowInteger) \
76 V(ContextOnly) \ 77 V(ContextOnly) \
77 V(GrowArrayElements) \ 78 V(GrowArrayElements) \
78 V(InterpreterPushArgsAndCall) \ 79 V(InterpreterPushArgsAndCall) \
79 V(InterpreterPushArgsAndConstruct) \ 80 V(InterpreterPushArgsAndConstruct) \
80 V(InterpreterCEntry) 81 V(InterpreterCEntry)
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 public: 705 public:
705 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArgumentsAccessNewDescriptor, 706 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArgumentsAccessNewDescriptor,
706 CallInterfaceDescriptor) 707 CallInterfaceDescriptor)
707 708
708 static const Register function(); 709 static const Register function();
709 static const Register parameter_count(); 710 static const Register parameter_count();
710 static const Register parameter_pointer(); 711 static const Register parameter_pointer();
711 }; 712 };
712 713
713 714
715 class RestParamAccessDescriptor : public CallInterfaceDescriptor {
716 public:
717 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(RestParamAccessDescriptor,
718 CallInterfaceDescriptor)
719 static const Register parameter_count();
720 static const Register parameter_pointer();
721 static const Register rest_parameter_index();
722 static const Register language_mode();
723 };
724
725
714 class StoreArrayLiteralElementDescriptor : public CallInterfaceDescriptor { 726 class StoreArrayLiteralElementDescriptor : public CallInterfaceDescriptor {
715 public: 727 public:
716 DECLARE_DESCRIPTOR(StoreArrayLiteralElementDescriptor, 728 DECLARE_DESCRIPTOR(StoreArrayLiteralElementDescriptor,
717 CallInterfaceDescriptor) 729 CallInterfaceDescriptor)
718 }; 730 };
719 731
720 732
721 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { 733 class MathPowTaggedDescriptor : public CallInterfaceDescriptor {
722 public: 734 public:
723 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) 735 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor)
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 } // namespace v8 796 } // namespace v8
785 797
786 798
787 #if V8_TARGET_ARCH_ARM64 799 #if V8_TARGET_ARCH_ARM64
788 #include "src/arm64/interface-descriptors-arm64.h" 800 #include "src/arm64/interface-descriptors-arm64.h"
789 #elif V8_TARGET_ARCH_ARM 801 #elif V8_TARGET_ARCH_ARM
790 #include "src/arm/interface-descriptors-arm.h" 802 #include "src/arm/interface-descriptors-arm.h"
791 #endif 803 #endif
792 804
793 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 805 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ia32/interface-descriptors-ia32.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698