| 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 e3e983478e06a8cb9d8900d205df592e6bd72bf2..6e2bb99a09ef35b221990d53122935833e51e6ec 100644
|
| --- a/test/cctest/test-code-stub-assembler.cc
|
| +++ b/test/cctest/test-code-stub-assembler.cc
|
| @@ -1823,14 +1823,13 @@ TEST(AllocatePromiseReactionJobInfo) {
|
| PromiseBuiltinsAssembler p(data.state());
|
|
|
| Node* const context = m.Parameter(kNumParams + 2);
|
| - Node* const promise = p.AllocateAndInitJSPromise(context);
|
| Node* const tasks = m.AllocateFixedArray(FAST_ELEMENTS, m.IntPtrConstant(1));
|
| m.StoreFixedArrayElement(tasks, 0, m.UndefinedConstant());
|
| Node* const deferred_promise =
|
| m.AllocateFixedArray(FAST_ELEMENTS, m.IntPtrConstant(1));
|
| m.StoreFixedArrayElement(deferred_promise, 0, m.UndefinedConstant());
|
| Node* const info = m.AllocatePromiseReactionJobInfo(
|
| - promise, m.SmiConstant(1), tasks, deferred_promise, m.UndefinedConstant(),
|
| + m.SmiConstant(1), tasks, deferred_promise, m.UndefinedConstant(),
|
| m.UndefinedConstant(), context);
|
| m.Return(info);
|
|
|
| @@ -1844,7 +1843,6 @@ TEST(AllocatePromiseReactionJobInfo) {
|
| Handle<PromiseReactionJobInfo> promise_info =
|
| Handle<PromiseReactionJobInfo>::cast(result);
|
| CHECK_EQ(Smi::FromInt(1), promise_info->value());
|
| - CHECK(promise_info->promise()->IsJSPromise());
|
| CHECK(promise_info->tasks()->IsFixedArray());
|
| CHECK(promise_info->deferred_promise()->IsFixedArray());
|
| CHECK(promise_info->deferred_on_resolve()->IsUndefined(isolate));
|
|
|