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

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

Issue 2599683002: [turbofan] Introduce a dedicated StringCharAt operator. (Closed)
Patch Set: Created 3 years, 12 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-stub-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 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 TFS_BUILTIN(ToLength) 245 TFS_BUILTIN(ToLength)
246 TFS_BUILTIN(ToObject) 246 TFS_BUILTIN(ToObject)
247 TFS_BUILTIN(Typeof) 247 TFS_BUILTIN(Typeof)
248 TFS_BUILTIN(InstanceOf) 248 TFS_BUILTIN(InstanceOf)
249 TFS_BUILTIN(OrdinaryHasInstance) 249 TFS_BUILTIN(OrdinaryHasInstance)
250 TFS_BUILTIN(ForInFilter) 250 TFS_BUILTIN(ForInFilter)
251 TFS_BUILTIN(NewUnmappedArgumentsElements) 251 TFS_BUILTIN(NewUnmappedArgumentsElements)
252 TFS_BUILTIN(NewRestParameterElements) 252 TFS_BUILTIN(NewRestParameterElements)
253 TFS_BUILTIN(PromiseHandleReject) 253 TFS_BUILTIN(PromiseHandleReject)
254 TFS_BUILTIN(GetSuperConstructor) 254 TFS_BUILTIN(GetSuperConstructor)
255 TFS_BUILTIN(StringCharAt)
255 256
256 #undef TFS_BUILTIN 257 #undef TFS_BUILTIN
257 258
258 // static 259 // static
259 Callable CodeFactory::Inc(Isolate* isolate) { 260 Callable CodeFactory::Inc(Isolate* isolate) {
260 IncStub stub(isolate); 261 IncStub stub(isolate);
261 return make_callable(stub); 262 return make_callable(stub);
262 } 263 }
263 264
264 // static 265 // static
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 } 513 }
513 514
514 // static 515 // static
515 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 516 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
516 return Callable(isolate->builtins()->FunctionPrototypeBind(), 517 return Callable(isolate->builtins()->FunctionPrototypeBind(),
517 BuiltinDescriptor(isolate)); 518 BuiltinDescriptor(isolate));
518 } 519 }
519 520
520 } // namespace internal 521 } // namespace internal
521 } // namespace v8 522 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698