Index: src/js/async-await.js |
diff --git a/src/js/async-await.js b/src/js/async-await.js |
index 5c9c4b5ceba4931aded31ef3d98ac27502415718..62f42478e2ab776fa038ccc3aa6e28242843afc1 100644 |
--- a/src/js/async-await.js |
+++ b/src/js/async-await.js |
@@ -32,8 +32,6 @@ var promiseHandledBySymbol = |
utils.ImportNow("promise_handled_by_symbol"); |
var promiseForwardingHandlerSymbol = |
utils.ImportNow("promise_forwarding_handler_symbol"); |
-var promiseHandledHintSymbol = |
- utils.ImportNow("promise_handled_hint_symbol"); |
// ------------------------------------------------------------------- |
@@ -114,7 +112,7 @@ function AsyncFunctionAwaitUncaught(generator, awaited, outerPromise) { |
// prediction indicates that there is a locally surrounding catch block |
function AsyncFunctionAwaitCaught(generator, awaited, outerPromise) { |
if (DEBUG_IS_ACTIVE && %is_promise(awaited)) { |
- SET_PRIVATE(awaited, promiseHandledHintSymbol, true); |
+ %PromiseMarkHandledHint(awaited); |
} |
AsyncFunctionAwait(generator, awaited, outerPromise); |
} |