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

Side by Side Diff: src/builtins/builtins-promise.h

Issue 2567033003: [promises] Port CreateResolvingFunctions to TF (Closed)
Patch Set: fix nits 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/builtins/builtins.h ('k') | src/builtins/builtins-promise.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/code-stub-assembler.h" 5 #include "src/code-stub-assembler.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 9
10 typedef compiler::Node Node; 10 typedef compiler::Node Node;
(...skipping 20 matching lines...) Expand all
31 31
32 Node* InternalPerformPromiseThen(Node* context, Node* promise, 32 Node* InternalPerformPromiseThen(Node* context, Node* promise,
33 Node* on_resolve, Node* on_reject, 33 Node* on_resolve, Node* on_reject,
34 Node* deferred); 34 Node* deferred);
35 35
36 void InternalResolvePromise(Node* context, Node* promise, Node* result, 36 void InternalResolvePromise(Node* context, Node* promise, Node* result,
37 Label* out); 37 Label* out);
38 38
39 void BranchIfFastPath(Node* context, Node* promise, Label* if_isunmodified, 39 void BranchIfFastPath(Node* context, Node* promise, Label* if_isunmodified,
40 Label* if_ismodified); 40 Label* if_ismodified);
41
42 Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event,
43 Node* native_context);
44
45 std::pair<Node*, Node*> CreatePromiseResolvingFunctions(
46 Node* promise, Node* native_context, Node* promise_context);
41 }; 47 };
42 48
43 } // namespace internal 49 } // namespace internal
44 } // namespace v8 50 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins.h ('k') | src/builtins/builtins-promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698