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

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

Issue 2614603003: [promises] Move PromiseFulfill to TF (Closed)
Patch Set: 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 | « no previous file | src/builtins/builtins-promise.cc » ('j') | src/builtins/builtins-promise.cc » ('J')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 Node* CreatePromiseContext(Node* native_context, int slots); 48 Node* CreatePromiseContext(Node* native_context, int slots);
49 Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event, 49 Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event,
50 Node* native_context); 50 Node* native_context);
51 51
52 std::pair<Node*, Node*> CreatePromiseResolvingFunctions( 52 std::pair<Node*, Node*> CreatePromiseResolvingFunctions(
53 Node* promise, Node* native_context, Node* promise_context); 53 Node* promise, Node* native_context, Node* promise_context);
54 54
55 Node* CreatePromiseGetCapabilitiesExecutorContext(Node* native_context, 55 Node* CreatePromiseGetCapabilitiesExecutorContext(Node* native_context,
56 Node* promise_capability); 56 Node* promise_capability);
57 57
58 void PromiseFulfill(Node* context, Node* promise, Node* result,
59 v8::Promise::PromiseState status);
60
58 Node* NewPromiseCapability(Node* context, Node* constructor, 61 Node* NewPromiseCapability(Node* context, Node* constructor,
59 Node* debug_event = nullptr); 62 Node* debug_event = nullptr);
60 }; 63 };
61 64
62 } // namespace internal 65 } // namespace internal
63 } // namespace v8 66 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-promise.cc » ('j') | src/builtins/builtins-promise.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698