Index: src/js/async-await.js |
diff --git a/src/js/async-await.js b/src/js/async-await.js |
index 8e59d65afec7356bac17a59be9dde0083ad05c83..a1cac0d5cd62a6bb6850197db285460cf06681ea 100644 |
--- a/src/js/async-await.js |
+++ b/src/js/async-await.js |
@@ -30,7 +30,6 @@ utils.Import(function(from) { |
NewPromiseCapability = from.NewPromiseCapability; |
PerformPromiseThen = from.PerformPromiseThen; |
PromiseCreate = from.PromiseCreate; |
- PromiseNextMicrotaskID = from.PromiseNextMicrotaskID; |
RejectPromise = from.RejectPromise; |
ResolvePromise = from.ResolvePromise; |
}); |
@@ -143,7 +142,7 @@ function AsyncFunctionPromiseCreate() { |
%DebugPushPromise(promise); |
// Assign ID and create a recurring task to save stack for future |
// resumptions from await. |
- var id = PromiseNextMicrotaskID(); |
+ var id = %DebugNextMicrotaskId(); |
SET_PRIVATE(promise, promiseAsyncStackIDSymbol, id); |
%DebugAsyncTaskEvent("enqueueRecurring", id, "async function"); |
} |