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

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

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: handle the case where Deoptimizer::function_ is a Smi Created 3 years, 9 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/deoptimizer.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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 public: 882 public:
883 DEFINE_PARAMETERS(kObject, kKey) 883 DEFINE_PARAMETERS(kObject, kKey)
884 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor) 884 DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor)
885 885
886 static const Register ObjectRegister(); 886 static const Register ObjectRegister();
887 static const Register KeyRegister(); 887 static const Register KeyRegister();
888 }; 888 };
889 889
890 class NewArgumentsElementsDescriptor final : public CallInterfaceDescriptor { 890 class NewArgumentsElementsDescriptor final : public CallInterfaceDescriptor {
891 public: 891 public:
892 DEFINE_PARAMETERS(kFormalParameterCount) 892 DEFINE_PARAMETERS(kFrame, kLength)
893 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(NewArgumentsElementsDescriptor, 893 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(NewArgumentsElementsDescriptor,
894 CallInterfaceDescriptor) 894 CallInterfaceDescriptor)
895 }; 895 };
896 896
897 class V8_EXPORT_PRIVATE InterpreterDispatchDescriptor 897 class V8_EXPORT_PRIVATE InterpreterDispatchDescriptor
898 : public CallInterfaceDescriptor { 898 : public CallInterfaceDescriptor {
899 public: 899 public:
900 DEFINE_PARAMETERS(kAccumulator, kBytecodeOffset, kBytecodeArray, 900 DEFINE_PARAMETERS(kAccumulator, kBytecodeOffset, kBytecodeArray,
901 kDispatchTable) 901 kDispatchTable)
902 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor, 902 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(InterpreterDispatchDescriptor,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 } // namespace v8 975 } // namespace v8
976 976
977 977
978 #if V8_TARGET_ARCH_ARM64 978 #if V8_TARGET_ARCH_ARM64
979 #include "src/arm64/interface-descriptors-arm64.h" 979 #include "src/arm64/interface-descriptors-arm64.h"
980 #elif V8_TARGET_ARCH_ARM 980 #elif V8_TARGET_ARCH_ARM
981 #include "src/arm/interface-descriptors-arm.h" 981 #include "src/arm/interface-descriptors-arm.h"
982 #endif 982 #endif
983 983
984 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 984 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698