Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 7be1f91b8649f0a828baabcc1c9a7ce1f0422767..bdb29f5db343223624ce8a0f5a0aa54102fbaf55 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1127,12 +1127,9 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
// Promise helpers |
Node* IsPromiseHookEnabled(); |
- Node* AllocateJSPromise(Node* context); |
- 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); |
+ Node* AllocateAndInitJSPromise(Node* context); |
+ Node* AllocateAndSetJSPromise(Node* context, Node* status, Node* result); |
+ void JSPromiseInit(Node* promise); |
Node* AllocatePromiseReactionJobInfo(Node* promise, Node* value, Node* tasks, |
Node* deferred_promise, |