Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index bf0fb1f0606c424cdbe727b74a6a0b019239636c..7c3725324235191ff02b8da7c2f9a69ce72a8ce5 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1053,6 +1053,13 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
// Promise helpers |
Node* IsPromiseHookEnabled(); |
+ Node* CreatePromise(Node* context); |
caitp
2016/12/13 01:04:58
I would suggest using AllocateJSPromise rather tha
|
+ void PromiseInit(Node* promise); |
+ |
+ // Other promise fields may also be need to set/reset. This only |
+ // provides a helper for certain init patterns. |
+ void PromiseSet(Node* promise, Node* status, Node* result); |
+ |
protected: |
void DescriptorLookupLinear(Node* unique_name, Node* descriptors, Node* nof, |
Label* if_found, Variable* var_name_index, |