Index: src/builtins/builtins-promise-gen.cc |
diff --git a/src/builtins/builtins-promise-gen.cc b/src/builtins/builtins-promise-gen.cc |
index 1b236ec97c62ac0b841e779a626a21fdea64c7a6..907e40a63bcaea2333671dceeb5718899156f3ba 100644 |
--- a/src/builtins/builtins-promise-gen.cc |
+++ b/src/builtins/builtins-promise-gen.cc |
@@ -1334,9 +1334,8 @@ TF_BUILTIN(PromiseHandle, PromiseBuiltinsAssembler) { |
BIND(&if_rejectpromise); |
{ |
- Callable promise_handle_reject = CodeFactory::PromiseHandleReject(isolate); |
- CallStub(promise_handle_reject, context, deferred_promise, |
- deferred_on_reject, var_reason.value()); |
+ CallBuiltin(Builtins::kPromiseHandleReject, context, deferred_promise, |
+ deferred_on_reject, var_reason.value()); |
Goto(&promisehook_after); |
} |