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

Side by Side Diff: src/builtins/builtins-async-gen.cc

Issue 2760953002: [builtins] Move more files into v8_builtins_generators source set (Closed)
Patch Set: rebased Created 3 years, 9 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/builtins/builtins-async-gen.h ('k') | src/builtins/builtins-async-iterator-gen.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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/builtins/builtins-async.h" 5 #include "src/builtins/builtins-async-gen.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 using compiler::Node; 10 using compiler::Node;
11 11
12 Node* AsyncBuiltinsAssembler::Await( 12 Node* AsyncBuiltinsAssembler::Await(
13 Node* context, Node* generator, Node* value, Node* outer_promise, 13 Node* context, Node* generator, Node* value, Node* outer_promise,
14 const NodeGenerator1& create_closure_context, int on_resolve_context_index, 14 const NodeGenerator1& create_closure_context, int on_resolve_context_index,
15 int on_reject_context_index, bool is_predicted_as_caught) { 15 int on_reject_context_index, bool is_predicted_as_caught) {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 Bind(&do_perform_promise_then); 80 Bind(&do_perform_promise_then);
81 InternalPerformPromiseThen(context, wrapped_value, on_resolve, on_reject, 81 InternalPerformPromiseThen(context, wrapped_value, on_resolve, on_reject,
82 throwaway_promise, UndefinedConstant(), 82 throwaway_promise, UndefinedConstant(),
83 UndefinedConstant()); 83 UndefinedConstant());
84 84
85 return wrapped_value; 85 return wrapped_value;
86 } 86 }
87 87
88 } // namespace internal 88 } // namespace internal
89 } // namespace v8 89 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins-async-gen.h ('k') | src/builtins/builtins-async-iterator-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698