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

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

Issue 2679063003: Revert of [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) \
56 V(RegExpReplace) \ 55 V(RegExpReplace) \
57 V(RegExpSplit) \ 56 V(RegExpSplit) \
58 V(CopyFastSmiOrObjectElements) \ 57 V(CopyFastSmiOrObjectElements) \
59 V(TransitionElementsKind) \ 58 V(TransitionElementsKind) \
60 V(AllocateHeapNumber) \ 59 V(AllocateHeapNumber) \
61 V(AllocateFloat32x4) \ 60 V(AllocateFloat32x4) \
62 V(AllocateInt32x4) \ 61 V(AllocateInt32x4) \
63 V(AllocateUint32x4) \ 62 V(AllocateUint32x4) \
64 V(AllocateBool32x4) \ 63 V(AllocateBool32x4) \
65 V(AllocateInt16x8) \ 64 V(AllocateInt16x8) \
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor) 650 DECLARE_DESCRIPTOR(CallConstructDescriptor, CallInterfaceDescriptor)
652 }; 651 };
653 652
654 class RegExpExecDescriptor : public CallInterfaceDescriptor { 653 class RegExpExecDescriptor : public CallInterfaceDescriptor {
655 public: 654 public:
656 DEFINE_PARAMETERS(kRegExpObject, kString, kPreviousIndex, kLastMatchInfo) 655 DEFINE_PARAMETERS(kRegExpObject, kString, kPreviousIndex, kLastMatchInfo)
657 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor, 656 DECLARE_DESCRIPTOR_WITH_STACK_ARGS(RegExpExecDescriptor,
658 CallInterfaceDescriptor) 657 CallInterfaceDescriptor)
659 }; 658 };
660 659
661 class RegExpExecInternalDescriptor : public CallInterfaceDescriptor {
662 public:
663 DEFINE_PARAMETERS(kReceiver, kString)
664 DECLARE_DEFAULT_DESCRIPTOR(RegExpExecInternalDescriptor,
665 CallInterfaceDescriptor, kParameterCount)
666 };
667
668 class RegExpReplaceDescriptor : public CallInterfaceDescriptor { 660 class RegExpReplaceDescriptor : public CallInterfaceDescriptor {
669 public: 661 public:
670 DEFINE_PARAMETERS(kReceiver, kString, kReplaceValue) 662 DEFINE_PARAMETERS(kReceiver, kString, kReplaceValue)
671 DECLARE_DEFAULT_DESCRIPTOR(RegExpReplaceDescriptor, CallInterfaceDescriptor, 663 DECLARE_DEFAULT_DESCRIPTOR(RegExpReplaceDescriptor, CallInterfaceDescriptor,
672 kParameterCount) 664 kParameterCount)
673 }; 665 };
674 666
675 class RegExpSplitDescriptor : public CallInterfaceDescriptor { 667 class RegExpSplitDescriptor : public CallInterfaceDescriptor {
676 public: 668 public:
677 DEFINE_PARAMETERS(kReceiver, kString, kLimit) 669 DEFINE_PARAMETERS(kReceiver, kString, kLimit)
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 } // namespace v8 982 } // namespace v8
991 983
992 984
993 #if V8_TARGET_ARCH_ARM64 985 #if V8_TARGET_ARCH_ARM64
994 #include "src/arm64/interface-descriptors-arm64.h" 986 #include "src/arm64/interface-descriptors-arm64.h"
995 #elif V8_TARGET_ARCH_ARM 987 #elif V8_TARGET_ARCH_ARM
996 #include "src/arm/interface-descriptors-arm.h" 988 #include "src/arm/interface-descriptors-arm.h"
997 #endif 989 #endif
998 990
999 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ 991 #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