Index: src/js/async-await.js |
diff --git a/src/js/async-await.js b/src/js/async-await.js |
index 4892f42e02e38dd94afaac7c5b110d7fb71b6b52..f0104ed9accb64234437d57ab5b842d86c3af6c0 100644 |
--- a/src/js/async-await.js |
+++ b/src/js/async-await.js |
@@ -108,7 +108,7 @@ function AsyncFunctionAwaitCaught(generator, awaited, outerPromise) { |
// How the parser rejects promises from async/await desugaring |
function RejectPromiseNoDebugEvent(promise, reason) { |
- return %PromiseReject(promise, reason, false); |
+ return %promise_internal_reject(promise, reason, false); |
} |
function AsyncFunctionPromiseCreate() { |