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

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

Issue 2677073004: [regexp] Add stub for RegExpExec instead of inlining (Closed)
Patch Set: Created 3 years, 10 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/code-factory.cc ('k') | no next file » | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 V(CreateWeakCell) \ 45 V(CreateWeakCell) \
46 V(CallFunction) \ 46 V(CallFunction) \
47 V(CallIC) \ 47 V(CallIC) \
48 V(CallICTrampoline) \ 48 V(CallICTrampoline) \
49 V(CallForwardVarargs) \ 49 V(CallForwardVarargs) \
50 V(CallConstruct) \ 50 V(CallConstruct) \
51 V(CallTrampoline) \ 51 V(CallTrampoline) \
52 V(ConstructStub) \ 52 V(ConstructStub) \
53 V(ConstructTrampoline) \ 53 V(ConstructTrampoline) \
54 V(RegExpExec) \ 54 V(RegExpExec) \
55 V(RegExpExecInternal) \
55 V(RegExpReplace) \ 56 V(RegExpReplace) \
56 V(RegExpSplit) \ 57 V(RegExpSplit) \
57 V(CopyFastSmiOrObjectElements) \ 58 V(CopyFastSmiOrObjectElements) \
58 V(TransitionElementsKind) \ 59 V(TransitionElementsKind) \
59 V(AllocateHeapNumber) \ 60 V(AllocateHeapNumber) \
60 V(AllocateFloat32x4) \ 61 V(AllocateFloat32x4) \
61 V(AllocateInt32x4) \ 62 V(AllocateInt32x4) \
62 V(AllocateUint32x4) \ 63 V(AllocateUint32x4) \
63 V(AllocateBool32x4) \ 64 V(AllocateBool32x4) \
64 V(AllocateInt16x8) \ 65 V(AllocateInt16x8) \
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) 651 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor)
651 }; 652 };
652 653
653 class RegExpExecDescriptor : public CallInterfaceDescriptor { 654 class RegExpExecDescriptor : public CallInterfaceDescriptor {
654 public: 655 public:
655 DEFINE_PARAMETERS(kRegExpObject, kString, kPreviousIndex, kLastMatchInfo) 656 DEFINE_PARAMETERS(kRegExpObject, kString, kPreviousIndex, kLastMatchInfo)
656 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor, 657 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor,
657 CallInterfaceDescriptor) 658 CallInterfaceDescriptor)
658 }; 659 };
659 660
661 class RegExpExecInternalDescriptor : public CallInterfaceDescriptor {
662 public:
663 DEFINE_PARAMETERS(kReceiver, kString)
664 DECLARE_DEFAULT_DESCRIPTOR(RegExpExecInternalDescriptor,
665 CallInterfaceDescriptor, kParameterCount)
666 };
667
660 class RegExpReplaceDescriptor : public CallInterfaceDescriptor { 668 class RegExpReplaceDescriptor : public CallInterfaceDescriptor {
661 public: 669 public:
662 DEFINE_PARAMETERS(kReceiver, kString, kReplaceValue) 670 DEFINE_PARAMETERS(kReceiver, kString, kReplaceValue)
663 DECLARE_DEFAULT_DESCRIPTOR(RegExpReplaceDescriptor, CallInterfaceDescriptor, 671 DECLARE_DEFAULT_DESCRIPTOR(RegExpReplaceDescriptor, CallInterfaceDescriptor,
664 kParameterCount) 672 kParameterCount)
665 }; 673 };
666 674
667 class RegExpSplitDescriptor : public CallInterfaceDescriptor { 675 class RegExpSplitDescriptor : public CallInterfaceDescriptor {
668 public: 676 public:
669 DEFINE_PARAMETERS(kReceiver, kString, kLimit) 677 DEFINE_PARAMETERS(kReceiver, kString, kLimit)
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 } // namespace v8 990 } // namespace v8
983 991
984 992
985 #if V8_TARGET_ARCH_ARM64 993 #if V8_TARGET_ARCH_ARM64
986 #include "src/arm64/interface-descriptors-arm64.h" 994 #include "src/arm64/interface-descriptors-arm64.h"
987 #elif V8_TARGET_ARCH_ARM 995 #elif V8_TARGET_ARCH_ARM
988 #include "src/arm/interface-descriptors-arm.h" 996 #include "src/arm/interface-descriptors-arm.h"
989 #endif 997 #endif
990 998
991 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 999 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698