Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 7532319bf2a8dc16f9f491b35933df73cbc6b2a6..bc6a5dc84ae12de3446a6fe8b0cb474c9d61c45c 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -8358,10 +8358,11 @@ Node* CodeStubAssembler::AllocatePromiseReactionJobInfo( |
StoreObjectFieldNoWriteBarrier( |
result, PromiseReactionJobInfo::kDeferredOnRejectOffset, |
deferred_on_reject); |
- StoreObjectFieldRoot(result, PromiseReactionJobInfo::kDebugIdOffset, |
- Heap::kUndefinedValueRootIndex); |
- StoreObjectFieldRoot(result, PromiseReactionJobInfo::kDebugNameOffset, |
- Heap::kUndefinedValueRootIndex); |
+ StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kDebugIdOffset, |
+ SmiConstant(kDebugPromiseNoID)); |
+ StoreObjectFieldNoWriteBarrier(result, |
+ PromiseReactionJobInfo::kDebugNameOffset, |
+ SmiConstant(kDebugNotActive)); |
StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kContextOffset, |
context); |
return result; |