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

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

Issue 2557283002: [turbofan] Add NewUnmappedArgumentsElements and NewRestParametersArguments. (Closed)
Patch Set: Fixes. Created 4 years 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/compiler/verifier.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 <memory> 8 #include <memory>
9 9
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 V(HasProperty) \ 80 V(HasProperty) \
81 V(ForInFilter) \ 81 V(ForInFilter) \
82 V(GetProperty) \ 82 V(GetProperty) \
83 V(CallHandler) \ 83 V(CallHandler) \
84 V(ArgumentAdaptor) \ 84 V(ArgumentAdaptor) \
85 V(ApiCallback) \ 85 V(ApiCallback) \
86 V(ApiGetter) \ 86 V(ApiGetter) \
87 V(MathPowTagged) \ 87 V(MathPowTagged) \
88 V(MathPowInteger) \ 88 V(MathPowInteger) \
89 V(GrowArrayElements) \ 89 V(GrowArrayElements) \
90 V(NewArgumentsElements) \
90 V(InterpreterDispatch) \ 91 V(InterpreterDispatch) \
91 V(InterpreterPushArgsAndCall) \ 92 V(InterpreterPushArgsAndCall) \
92 V(InterpreterPushArgsAndConstruct) \ 93 V(InterpreterPushArgsAndConstruct) \
93 V(InterpreterPushArgsAndConstructArray) \ 94 V(InterpreterPushArgsAndConstructArray) \
94 V(InterpreterCEntry) \ 95 V(InterpreterCEntry) \
95 V(ResumeGenerator) 96 V(ResumeGenerator)
96 97
97 class V8_EXPORT_PRIVATE CallInterfaceDescriptorData { 98 class V8_EXPORT_PRIVATE CallInterfaceDescriptorData {
98 public: 99 public:
99 CallInterfaceDescriptorData() : register_param_count_(-1), param_count_(-1) {} 100 CallInterfaceDescriptorData() : register_param_count_(-1), param_count_(-1) {}
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 // TODO(turbofan): We should probably rename this to GrowFastElementsDescriptor. 773 // TODO(turbofan): We should probably rename this to GrowFastElementsDescriptor.
773 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor { 774 class GrowArrayElementsDescriptor : public CallInterfaceDescriptor {
774 public: 775 public:
775 DEFINE_PARAMETERS(kObject, kKey) 776 DEFINE_PARAMETERS(kObject, kKey)
776 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) 777 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor)
777 778
778 static const Register ObjectRegister(); 779 static const Register ObjectRegister();
779 static const Register KeyRegister(); 780 static const Register KeyRegister();
780 }; 781 };
781 782
783 class NewArgumentsElementsDescriptor final : public CallInterfaceDescriptor {
784 public:
785 DEFINE_PARAMETERS(kFormalParameterCount)
786 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(NewArgumentsElementsDescriptor,
787 CallInterfaceDescriptor)
788 };
789
782 class V8_EXPORT_PRIVATE InterpreterDispatchDescriptor 790 class V8_EXPORT_PRIVATE InterpreterDispatchDescriptor
783 : public CallInterfaceDescriptor { 791 : public CallInterfaceDescriptor {
784 public: 792 public:
785 DEFINE_PARAMETERS(kAccumulator, kBytecodeOffset, kBytecodeArray, 793 DEFINE_PARAMETERS(kAccumulator, kBytecodeOffset, kBytecodeArray,
786 kDispatchTable) 794 kDispatchTable)
787 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor, 795 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor,
788 CallInterfaceDescriptor) 796 CallInterfaceDescriptor)
789 }; 797 };
790 798
791 class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor { 799 class InterpreterPushArgsAndCallDescriptor : public CallInterfaceDescriptor {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 } // namespace v8 850 } // namespace v8
843 851
844 852
845 #if V8_TARGET_ARCH_ARM64 853 #if V8_TARGET_ARCH_ARM64
846 #include "src/arm64/interface-descriptors-arm64.h" 854 #include "src/arm64/interface-descriptors-arm64.h"
847 #elif V8_TARGET_ARCH_ARM 855 #elif V8_TARGET_ARCH_ARM
848 #include "src/arm/interface-descriptors-arm.h" 856 #include "src/arm/interface-descriptors-arm.h"
849 #endif 857 #endif
850 858
851 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 859 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698