Chromium Code Reviews| Index: src/code-stub-assembler.h |
| diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
| index 52b27fa964f7ab31557b76af379a3db5357691da..1bc40ea1fb8097f57195394d5440578a5389b6ca 100644 |
| --- a/src/code-stub-assembler.h |
| +++ b/src/code-stub-assembler.h |
| @@ -1079,9 +1079,16 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
| Node* ElementOffsetFromIndex(Node* index, ElementsKind kind, |
| ParameterMode mode, int base_size = 0); |
| + Node* AllocateFunctionWithMapAndContext(Node* map, Node* shared_info, |
| + Node* context); |
| + |
| // Promise helpers |
| Node* IsPromiseHookEnabled(); |
| + Node* CreatePromiseResolvingFunctionsContext(Node* promise, Node* debug_event, |
| + Node* native_context); |
| + std::pair<Node*, Node*> CreatePromiseResolvingFunctions( |
| + Node* promise, Node* native_context, Node* promise_context); |
| Node* AllocateJSPromise(Node* context); |
| void PromiseInit(Node* promise); |
|
jgruber
2016/12/13 10:44:05
These could also be moved to PromiseBuiltinsAssemb
gsathya
2016/12/13 13:01:47
These will be used in other builtins
jgruber
2016/12/13 13:20:52
Acknowledged.
|