Index: test/cctest/test-code-stub-assembler.cc |
diff --git a/test/cctest/test-code-stub-assembler.cc b/test/cctest/test-code-stub-assembler.cc |
index e1d6d4997b94217c0e9855e6a612df1af3d8108d..0b4570ab901f1d3a25988be7e242d9964ec01273 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -1832,6 +1832,7 @@ TEST(AllocateJSPromise) { |
Node* const context = m.Parameter(kNumParams + 2); |
Node* const promise = m.AllocateJSPromise(context); |
+ m.PromiseInit(promise); |
m.Return(promise); |
Handle<Code> code = data.GenerateCode(); |
@@ -1902,6 +1903,7 @@ TEST(AllocatePromiseReactionJobInfo) { |
Node* const context = m.Parameter(kNumParams + 2); |
Node* const promise = m.AllocateJSPromise(context); |
+ m.PromiseInit(promise); |
Node* const tasks = m.AllocateFixedArray(FAST_ELEMENTS, m.IntPtrConstant(1)); |
m.StoreFixedArrayElement(tasks, 0, m.UndefinedConstant()); |
Node* const deferred_promise = |