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

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

Issue 2622833002: WIP [esnext] implement async iteration proposal (Closed)
Patch Set: simplify AsyncIteratorValueUnwrap Created 3 years, 11 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); 343 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
344 } 344 }
345 345
346 // static 346 // static
347 Callable CodeFactory::ResumeGenerator(Isolate* isolate) { 347 Callable CodeFactory::ResumeGenerator(Isolate* isolate) {
348 return Callable(isolate->builtins()->ResumeGeneratorTrampoline(), 348 return Callable(isolate->builtins()->ResumeGeneratorTrampoline(),
349 ResumeGeneratorDescriptor(isolate)); 349 ResumeGeneratorDescriptor(isolate));
350 } 350 }
351 351
352 // static 352 // static
353 Callable CodeFactory::ResumeAwaitedGenerator(Isolate* isolate) {
354 return Callable(isolate->builtins()->ResumeAwaitedGeneratorTrampoline(),
355 ResumeGeneratorDescriptor(isolate));
356 }
357
358 // static
353 Callable CodeFactory::FastCloneRegExp(Isolate* isolate) { 359 Callable CodeFactory::FastCloneRegExp(Isolate* isolate) {
354 return Callable(isolate->builtins()->FastCloneRegExp(), 360 return Callable(isolate->builtins()->FastCloneRegExp(),
355 FastCloneRegExpDescriptor(isolate)); 361 FastCloneRegExpDescriptor(isolate));
356 } 362 }
357 363
358 // static 364 // static
359 Callable CodeFactory::FastCloneShallowArray( 365 Callable CodeFactory::FastCloneShallowArray(
360 Isolate* isolate, AllocationSiteMode allocation_mode) { 366 Isolate* isolate, AllocationSiteMode allocation_mode) {
361 return Callable(isolate->builtins()->NewCloneShallowArray(allocation_mode), 367 return Callable(isolate->builtins()->NewCloneShallowArray(allocation_mode),
362 FastCloneShallowArrayDescriptor(isolate)); 368 FastCloneShallowArrayDescriptor(isolate));
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 } 520 }
515 521
516 // static 522 // static
517 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 523 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
518 return Callable(isolate->builtins()->FunctionPrototypeBind(), 524 return Callable(isolate->builtins()->FunctionPrototypeBind(),
519 BuiltinDescriptor(isolate)); 525 BuiltinDescriptor(isolate));
520 } 526 }
521 527
522 } // namespace internal 528 } // namespace internal
523 } // namespace v8 529 } // 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