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

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

Issue 2600443002: [turbofan] Lower StringCharCodeAt to a dedicated builtin. (Closed)
Patch Set: Created 4 years 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/compiler/effect-control-linearizer.cc » ('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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 TFS_BUILTIN(StringCharAt)
256 TFS_BUILTIN(StringCharCodeAt)
256 257
257 #undef TFS_BUILTIN 258 #undef TFS_BUILTIN
258 259
259 // static 260 // static
260 Callable CodeFactory::Inc(Isolate* isolate) { 261 Callable CodeFactory::Inc(Isolate* isolate) {
261 IncStub stub(isolate); 262 IncStub stub(isolate);
262 return make_callable(stub); 263 return make_callable(stub);
263 } 264 }
264 265
265 // static 266 // static
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 } 514 }
514 515
515 // static 516 // static
516 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 517 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
517 return Callable(isolate->builtins()->FunctionPrototypeBind(), 518 return Callable(isolate->builtins()->FunctionPrototypeBind(),
518 BuiltinDescriptor(isolate)); 519 BuiltinDescriptor(isolate));
519 } 520 }
520 521
521 } // namespace internal 522 } // namespace internal
522 } // namespace v8 523 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/effect-control-linearizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698