OLD | NEW |
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 27 matching lines...) Expand all Loading... |
38 Node* on_resolve, Node* on_reject, | 38 Node* on_resolve, Node* on_reject, |
39 Node* deferred_promise, | 39 Node* deferred_promise, |
40 Node* deferred_on_resolve, | 40 Node* deferred_on_resolve, |
41 Node* deferred_on_reject); | 41 Node* deferred_on_reject); |
42 | 42 |
43 void InternalResolvePromise(Node* context, Node* promise, Node* result); | 43 void InternalResolvePromise(Node* context, Node* promise, Node* result); |
44 | 44 |
45 void BranchIfFastPath(Node* context, Node* promise, Label* if_isunmodified, | 45 void BranchIfFastPath(Node* context, Node* promise, Label* if_isunmodified, |
46 Label* if_ismodified); | 46 Label* if_ismodified); |
47 | 47 |
| 48 Node* CreatePromiseContext(Node* native_context, int slots); |
48 Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event, | 49 Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event, |
49 Node* native_context); | 50 Node* native_context); |
50 | 51 |
51 std::pair<Node*, Node*> CreatePromiseResolvingFunctions( | 52 std::pair<Node*, Node*> CreatePromiseResolvingFunctions( |
52 Node* promise, Node* native_context, Node* promise_context); | 53 Node* promise, Node* native_context, Node* promise_context); |
| 54 |
| 55 Node* CreatePromiseGetCapabilitiesExecutorContext(Node* native_context, |
| 56 Node* promise_capability); |
| 57 |
| 58 Node* NewPromiseCapability(Node* context, Node* constructor, |
| 59 Node* debug_event = nullptr); |
53 }; | 60 }; |
54 | 61 |
55 } // namespace internal | 62 } // namespace internal |
56 } // namespace v8 | 63 } // namespace v8 |
OLD | NEW |