Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 574e77c96e88fe95f5e20ad20f93b8772e9a5b71..45c3f7e3d0e91f5558c11ed79618a0ea3b7271e5 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -8273,12 +8273,12 @@ void CodeStubAssembler::PromiseSet(Node* promise, Node* status, Node* result) { |
StoreObjectField(promise, JSPromise::kFlagsOffset, SmiConstant(0)); |
} |
-Node* CodeStubAssembler::AllocatePromiseReactionJobInfo(Node* value, |
- Node* tasks, |
- Node* deferred, |
- Node* context) { |
+Node* CodeStubAssembler::AllocatePromiseReactionJobInfo( |
+ Node* value, Node* promise, Node* tasks, Node* deferred, Node* context) { |
Node* const result = Allocate(PromiseReactionJobInfo::kSize); |
StoreMapNoWriteBarrier(result, Heap::kPromiseReactionJobInfoMapRootIndex); |
+ StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kPromiseOffset, |
+ promise); |
StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kValueOffset, |
value); |
StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kTasksOffset, |