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

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

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.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/builtins/builtins-descriptors.h" 8 #include "src/builtins/builtins-descriptors.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 TypeConversionDescriptor(isolate)); 225 TypeConversionDescriptor(isolate));
226 } 226 }
227 227
228 // static 228 // static
229 Callable CodeFactory::NumberToString(Isolate* isolate) { 229 Callable CodeFactory::NumberToString(Isolate* isolate) {
230 NumberToStringStub stub(isolate); 230 NumberToStringStub stub(isolate);
231 return make_callable(stub); 231 return make_callable(stub);
232 } 232 }
233 233
234 // static 234 // static
235 Callable CodeFactory::RegExpExec(Isolate* isolate) {
236 RegExpExecStub stub(isolate);
237 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
238 }
239
240 // static
241 Callable CodeFactory::StringFromCharCode(Isolate* isolate) { 235 Callable CodeFactory::StringFromCharCode(Isolate* isolate) {
242 Handle<Code> code(isolate->builtins()->StringFromCharCode()); 236 Handle<Code> code(isolate->builtins()->StringFromCharCode());
243 return Callable(code, BuiltinDescriptor(isolate)); 237 return Callable(code, BuiltinDescriptor(isolate));
244 } 238 }
245 239
246 #define TFS_BUILTIN(Name) \ 240 #define TFS_BUILTIN(Name) \
247 Callable CodeFactory::Name(Isolate* isolate) { \ 241 Callable CodeFactory::Name(Isolate* isolate) { \
248 Handle<Code> code(isolate->builtins()->Name()); \ 242 Handle<Code> code(isolate->builtins()->Name()); \
249 return Callable(code, Builtin_##Name##_InterfaceDescriptor(isolate)); \ 243 return Callable(code, Builtin_##Name##_InterfaceDescriptor(isolate)); \
250 } 244 }
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 } 547 }
554 548
555 // static 549 // static
556 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 550 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
557 return Callable(isolate->builtins()->FunctionPrototypeBind(), 551 return Callable(isolate->builtins()->FunctionPrototypeBind(),
558 BuiltinDescriptor(isolate)); 552 BuiltinDescriptor(isolate));
559 } 553 }
560 554
561 } // namespace internal 555 } // namespace internal
562 } // namespace v8 556 } // 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