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

Side by Side Diff: src/code-factory.cc

Issue 2448463002: [regexp] Remove unused code (Closed)
Patch Set: Created 4 years, 1 month 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.h ('k') | src/code-stubs.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 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 #include "src/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 TypeConversionDescriptor(isolate)); 191 TypeConversionDescriptor(isolate));
192 } 192 }
193 193
194 // static 194 // static
195 Callable CodeFactory::NumberToString(Isolate* isolate) { 195 Callable CodeFactory::NumberToString(Isolate* isolate) {
196 NumberToStringStub stub(isolate); 196 NumberToStringStub stub(isolate);
197 return make_callable(stub); 197 return make_callable(stub);
198 } 198 }
199 199
200 // static 200 // static
201 Callable CodeFactory::RegExpConstructResult(Isolate* isolate) {
202 RegExpConstructResultStub stub(isolate);
203 return make_callable(stub);
204 }
205
206 // static
207 Callable CodeFactory::RegExpExec(Isolate* isolate) { 201 Callable CodeFactory::RegExpExec(Isolate* isolate) {
208 RegExpExecStub stub(isolate); 202 RegExpExecStub stub(isolate);
209 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); 203 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
210 } 204 }
211 205
212 #define DECLARE_TFS(Name, Kind, Extra, InterfaceDescriptor) \ 206 #define DECLARE_TFS(Name, Kind, Extra, InterfaceDescriptor) \
213 typedef InterfaceDescriptor##Descriptor Name##Descriptor; 207 typedef InterfaceDescriptor##Descriptor Name##Descriptor;
214 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, DECLARE_TFS, 208 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, DECLARE_TFS,
215 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 209 IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
216 #undef DECLARE_TFS 210 #undef DECLARE_TFS
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 } 488 }
495 489
496 // static 490 // static
497 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 491 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
498 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 492 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
499 ContextOnlyDescriptor(isolate)); 493 ContextOnlyDescriptor(isolate));
500 } 494 }
501 495
502 } // namespace internal 496 } // namespace internal
503 } // namespace v8 497 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698