Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index d7c47a90ac8a4adeae158ddd39916a38472c1926..7532319bf2a8dc16f9f491b35933df73cbc6b2a6 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -8340,17 +8340,24 @@ void CodeStubAssembler::PromiseSet(Node* promise, Node* status, Node* result) { |
} |
Node* CodeStubAssembler::AllocatePromiseReactionJobInfo( |
- Node* value, Node* promise, Node* tasks, Node* deferred, Node* context) { |
+ Node* promise, Node* value, Node* tasks, Node* deferred_promise, |
+ Node* deferred_on_resolve, Node* deferred_on_reject, 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::kPromiseOffset, |
+ promise); |
StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kTasksOffset, |
tasks); |
StoreObjectFieldNoWriteBarrier( |
- result, PromiseReactionJobInfo::kDeferredOffset, deferred); |
+ result, PromiseReactionJobInfo::kDeferredPromiseOffset, deferred_promise); |
+ StoreObjectFieldNoWriteBarrier( |
+ result, PromiseReactionJobInfo::kDeferredOnResolveOffset, |
+ deferred_on_resolve); |
+ StoreObjectFieldNoWriteBarrier( |
+ result, PromiseReactionJobInfo::kDeferredOnRejectOffset, |
+ deferred_on_reject); |
StoreObjectFieldRoot(result, PromiseReactionJobInfo::kDebugIdOffset, |
Heap::kUndefinedValueRootIndex); |
StoreObjectFieldRoot(result, PromiseReactionJobInfo::kDebugNameOffset, |