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 afe34b62c6bd4c10d438ce0680c9d17877273e94..5decccedd8b210c07d83c6eb656577329193dbbc 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -1862,10 +1862,8 @@ TEST(AllocatePromiseResolveThenableJobInfo) { |
Node* const context = p.Parameter(kNumParams + 2); |
Node* const native_context = p.LoadNativeContext(context); |
Node* const thenable = p.AllocateAndInitJSPromise(context); |
- Node* const then_str = p.HeapConstant(isolate->factory()->then_string()); |
- Callable getproperty_callable = CodeFactory::GetProperty(isolate); |
Node* const then = |
- p.CallStub(getproperty_callable, context, thenable, then_str); |
+ p.GetProperty(context, thenable, isolate->factory()->then_string()); |
Node* resolve = nullptr; |
Node* reject = nullptr; |
std::tie(resolve, reject) = p.CreatePromiseResolvingFunctions( |