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

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

Issue 2412453005: [stubs] Refactor the CallICStub to pass the number of arguments. (Closed)
Patch Set: Created 4 years, 2 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/ic/ic-state.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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 public: 546 public:
547 DEFINE_PARAMETERS(kFunction, kSlot) 547 DEFINE_PARAMETERS(kFunction, kSlot)
548 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( 548 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
549 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor) 549 CallFunctionWithFeedbackDescriptor, CallInterfaceDescriptor)
550 }; 550 };
551 551
552 552
553 class CallFunctionWithFeedbackAndVectorDescriptor 553 class CallFunctionWithFeedbackAndVectorDescriptor
554 : public CallInterfaceDescriptor { 554 : public CallInterfaceDescriptor {
555 public: 555 public:
556 DEFINE_PARAMETERS(kFunction, kSlot, kVector) 556 DEFINE_PARAMETERS(kFunction, kActualArgumentsCount, kSlot, kVector)
557 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE( 557 DECLARE_DESCRIPTOR_WITH_CUSTOM_FUNCTION_TYPE(
558 CallFunctionWithFeedbackAndVectorDescriptor, CallInterfaceDescriptor) 558 CallFunctionWithFeedbackAndVectorDescriptor, CallInterfaceDescriptor)
559 }; 559 };
560 560
561 561
562 class CallConstructDescriptor : public CallInterfaceDescriptor { 562 class CallConstructDescriptor : public CallInterfaceDescriptor {
563 public: 563 public:
564 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) 564 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor)
565 }; 565 };
566 566
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 } // namespace v8 835 } // namespace v8
836 836
837 837
838 #if V8_TARGET_ARCH_ARM64 838 #if V8_TARGET_ARCH_ARM64
839 #include "src/arm64/interface-descriptors-arm64.h" 839 #include "src/arm64/interface-descriptors-arm64.h"
840 #elif V8_TARGET_ARCH_ARM 840 #elif V8_TARGET_ARCH_ARM
841 #include "src/arm/interface-descriptors-arm.h" 841 #include "src/arm/interface-descriptors-arm.h"
842 #endif 842 #endif
843 843
844 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 844 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/ic/ic-state.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698