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

Side by Side Diff: src/code-stubs.h

Issue 2832193002: Revert of [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Created 3 years, 8 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') | src/compiler/code-assembler.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 27 matching lines...) Expand all
38 V(CallConstruct) \ 38 V(CallConstruct) \
39 V(CallIC) \ 39 V(CallIC) \
40 V(CEntry) \ 40 V(CEntry) \
41 V(CompareIC) \ 41 V(CompareIC) \
42 V(DoubleToI) \ 42 V(DoubleToI) \
43 V(InternalArrayConstructor) \ 43 V(InternalArrayConstructor) \
44 V(JSEntry) \ 44 V(JSEntry) \
45 V(MathPow) \ 45 V(MathPow) \
46 V(ProfileEntryHook) \ 46 V(ProfileEntryHook) \
47 V(RecordWrite) \ 47 V(RecordWrite) \
48 V(RegExpExec) \
48 V(StoreBufferOverflow) \ 49 V(StoreBufferOverflow) \
49 V(StoreSlowElement) \ 50 V(StoreSlowElement) \
50 V(SubString) \ 51 V(SubString) \
51 V(NameDictionaryLookup) \ 52 V(NameDictionaryLookup) \
52 /* This can be removed once there are no */ \ 53 /* This can be removed once there are no */ \
53 /* more deopting Hydrogen stubs. */ \ 54 /* more deopting Hydrogen stubs. */ \
54 V(StubFailureTrampoline) \ 55 V(StubFailureTrampoline) \
55 /* These are only called from FCG */ \ 56 /* These are only called from FCG */ \
56 /* They can be removed when only the TF */ \ 57 /* They can be removed when only the TF */ \
57 /* version of the corresponding stub is */ \ 58 /* version of the corresponding stub is */ \
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 } 1129 }
1129 1130
1130 class StackFrameTypeBits : public BitField<StackFrame::Type, 0, 5> {}; 1131 class StackFrameTypeBits : public BitField<StackFrame::Type, 0, 5> {};
1131 1132
1132 int handler_offset_; 1133 int handler_offset_;
1133 1134
1134 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); 1135 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR();
1135 DEFINE_PLATFORM_CODE_STUB(JSEntry, PlatformCodeStub); 1136 DEFINE_PLATFORM_CODE_STUB(JSEntry, PlatformCodeStub);
1136 }; 1137 };
1137 1138
1139
1140 class RegExpExecStub: public PlatformCodeStub {
1141 public:
1142 explicit RegExpExecStub(Isolate* isolate) : PlatformCodeStub(isolate) { }
1143
1144 DEFINE_CALL_INTERFACE_DESCRIPTOR(RegExpExec);
1145 DEFINE_PLATFORM_CODE_STUB(RegExpExec, PlatformCodeStub);
1146 };
1147
1138 // TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub. 1148 // TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub.
1139 class CallConstructStub final : public PlatformCodeStub { 1149 class CallConstructStub final : public PlatformCodeStub {
1140 public: 1150 public:
1141 explicit CallConstructStub(Isolate* isolate) : PlatformCodeStub(isolate) {} 1151 explicit CallConstructStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
1142 1152
1143 DEFINE_CALL_INTERFACE_DESCRIPTOR(CallConstruct); 1153 DEFINE_CALL_INTERFACE_DESCRIPTOR(CallConstruct);
1144 DEFINE_PLATFORM_CODE_STUB(CallConstruct, PlatformCodeStub); 1154 DEFINE_PLATFORM_CODE_STUB(CallConstruct, PlatformCodeStub);
1145 }; 1155 };
1146 1156
1147 1157
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 #undef DEFINE_PLATFORM_CODE_STUB 1700 #undef DEFINE_PLATFORM_CODE_STUB
1691 #undef DEFINE_HANDLER_CODE_STUB 1701 #undef DEFINE_HANDLER_CODE_STUB
1692 #undef DEFINE_HYDROGEN_CODE_STUB 1702 #undef DEFINE_HYDROGEN_CODE_STUB
1693 #undef DEFINE_CODE_STUB 1703 #undef DEFINE_CODE_STUB
1694 #undef DEFINE_CODE_STUB_BASE 1704 #undef DEFINE_CODE_STUB_BASE
1695 1705
1696 } // namespace internal 1706 } // namespace internal
1697 } // namespace v8 1707 } // namespace v8
1698 1708
1699 #endif // V8_CODE_STUBS_H_ 1709 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/code-factory.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698