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

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

Issue 1348773002: [turbofan] Call ArgumentsAccessStub to materialize arguments. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: One more variant. Created 5 years, 3 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 V(BinaryOpWithAllocationSite) \ 53 V(BinaryOpWithAllocationSite) \
54 V(StringAdd) \ 54 V(StringAdd) \
55 V(Keyed) \ 55 V(Keyed) \
56 V(Named) \ 56 V(Named) \
57 V(CallHandler) \ 57 V(CallHandler) \
58 V(ArgumentAdaptor) \ 58 V(ArgumentAdaptor) \
59 V(ApiFunction) \ 59 V(ApiFunction) \
60 V(ApiAccessor) \ 60 V(ApiAccessor) \
61 V(ApiGetter) \ 61 V(ApiGetter) \
62 V(ArgumentsAccessRead) \ 62 V(ArgumentsAccessRead) \
63 V(ArgumentsAccessNew) \
63 V(StoreArrayLiteralElement) \ 64 V(StoreArrayLiteralElement) \
64 V(LoadGlobalViaContext) \ 65 V(LoadGlobalViaContext) \
65 V(StoreGlobalViaContext) \ 66 V(StoreGlobalViaContext) \
66 V(MathPowTagged) \ 67 V(MathPowTagged) \
67 V(MathPowInteger) \ 68 V(MathPowInteger) \
68 V(ContextOnly) \ 69 V(ContextOnly) \
69 V(GrowArrayElements) \ 70 V(GrowArrayElements) \
70 V(MathRoundVariantCallFromUnoptimizedCode) \ 71 V(MathRoundVariantCallFromUnoptimizedCode) \
71 V(MathRoundVariantCallFromOptimizedCode) 72 V(MathRoundVariantCallFromOptimizedCode)
72 73
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 621
621 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor { 622 class ArgumentsAccessReadDescriptor : public CallInterfaceDescriptor {
622 public: 623 public:
623 DECLARE_DESCRIPTOR(ArgumentsAccessReadDescriptor, CallInterfaceDescriptor) 624 DECLARE_DESCRIPTOR(ArgumentsAccessReadDescriptor, CallInterfaceDescriptor)
624 625
625 static const Register index(); 626 static const Register index();
626 static const Register parameter_count(); 627 static const Register parameter_count();
627 }; 628 };
628 629
629 630
631 class ArgumentsAccessNewDescriptor : public CallInterfaceDescriptor {
632 public:
633 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(ArgumentsAccessNewDescriptor,
634 CallInterfaceDescriptor)
635
636 static const Register function();
637 static const Register parameter_count();
638 static const Register parameter_pointer();
639 };
640
641
630 class StoreArrayLiteralElementDescriptor : public CallInterfaceDescriptor { 642 class StoreArrayLiteralElementDescriptor : public CallInterfaceDescriptor {
631 public: 643 public:
632 DECLARE_DESCRIPTOR(StoreArrayLiteralElementDescriptor, 644 DECLARE_DESCRIPTOR(StoreArrayLiteralElementDescriptor,
633 CallInterfaceDescriptor) 645 CallInterfaceDescriptor)
634 }; 646 };
635 647
636 648
637 class MathPowTaggedDescriptor : public CallInterfaceDescriptor { 649 class MathPowTaggedDescriptor : public CallInterfaceDescriptor {
638 public: 650 public:
639 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor) 651 DECLARE_DESCRIPTOR(MathPowTaggedDescriptor, CallInterfaceDescriptor)
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 } // namespace v8::internal 713 } // namespace v8::internal
702 714
703 715
704 #if V8_TARGET_ARCH_ARM64 716 #if V8_TARGET_ARCH_ARM64
705 #include "src/arm64/interface-descriptors-arm64.h" 717 #include "src/arm64/interface-descriptors-arm64.h"
706 #elif V8_TARGET_ARCH_ARM 718 #elif V8_TARGET_ARCH_ARM
707 #include "src/arm/interface-descriptors-arm.h" 719 #include "src/arm/interface-descriptors-arm.h"
708 #endif 720 #endif
709 721
710 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 722 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698