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

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

Issue 2752143003: [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Fix non-sim arm64 and mips builds 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) \
49 V(StoreBufferOverflow) \ 48 V(StoreBufferOverflow) \
50 V(StoreSlowElement) \ 49 V(StoreSlowElement) \
51 V(SubString) \ 50 V(SubString) \
52 V(NameDictionaryLookup) \ 51 V(NameDictionaryLookup) \
53 /* This can be removed once there are no */ \ 52 /* This can be removed once there are no */ \
54 /* more deopting Hydrogen stubs. */ \ 53 /* more deopting Hydrogen stubs. */ \
55 V(StubFailureTrampoline) \ 54 V(StubFailureTrampoline) \
56 /* These are only called from FCG */ \ 55 /* These are only called from FCG */ \
57 /* They can be removed when only the TF */ \ 56 /* They can be removed when only the TF */ \
58 /* version of the corresponding stub is */ \ 57 /* version of the corresponding stub is */ \
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 } 1128 }
1130 1129
1131 class StackFrameTypeBits : public BitField<StackFrame::Type, 0, 5> {}; 1130 class StackFrameTypeBits : public BitField<StackFrame::Type, 0, 5> {};
1132 1131
1133 int handler_offset_; 1132 int handler_offset_;
1134 1133
1135 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR(); 1134 DEFINE_NULL_CALL_INTERFACE_DESCRIPTOR();
1136 DEFINE_PLATFORM_CODE_STUB(JSEntry, PlatformCodeStub); 1135 DEFINE_PLATFORM_CODE_STUB(JSEntry, PlatformCodeStub);
1137 }; 1136 };
1138 1137
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
1148 // TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub. 1138 // TODO(bmeurer/mvstanton): Turn CallConstructStub into ConstructICStub.
1149 class CallConstructStub final : public PlatformCodeStub { 1139 class CallConstructStub final : public PlatformCodeStub {
1150 public: 1140 public:
1151 explicit CallConstructStub(Isolate* isolate) : PlatformCodeStub(isolate) {} 1141 explicit CallConstructStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
1152 1142
1153 DEFINE_CALL_INTERFACE_DESCRIPTOR(CallConstruct); 1143 DEFINE_CALL_INTERFACE_DESCRIPTOR(CallConstruct);
1154 DEFINE_PLATFORM_CODE_STUB(CallConstruct, PlatformCodeStub); 1144 DEFINE_PLATFORM_CODE_STUB(CallConstruct, PlatformCodeStub);
1155 }; 1145 };
1156 1146
1157 1147
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 #undef DEFINE_PLATFORM_CODE_STUB 1690 #undef DEFINE_PLATFORM_CODE_STUB
1701 #undef DEFINE_HANDLER_CODE_STUB 1691 #undef DEFINE_HANDLER_CODE_STUB
1702 #undef DEFINE_HYDROGEN_CODE_STUB 1692 #undef DEFINE_HYDROGEN_CODE_STUB
1703 #undef DEFINE_CODE_STUB 1693 #undef DEFINE_CODE_STUB
1704 #undef DEFINE_CODE_STUB_BASE 1694 #undef DEFINE_CODE_STUB_BASE
1705 1695
1706 } // namespace internal 1696 } // namespace internal
1707 } // namespace v8 1697 } // namespace v8
1708 1698
1709 #endif // V8_CODE_STUBS_H_ 1699 #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