Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index 0013c37911425c02d1ae881cfb6d439ce15ac6b0..6dd3268059433cd21e449335ca3c1b3e5a92a256 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -36,11 +36,6 @@ function PromiseCreate(parent) { |
return %promise_internal_constructor(parent); |
} |
-// Only used by async-await.js |
-function RejectPromise(promise, reason, debugEvent) { |
- %PromiseReject(promise, reason, debugEvent); |
-} |
- |
// Export to bindings |
function DoRejectPromise(promise, reason) { |
%PromiseReject(promise, reason, true); |
@@ -174,9 +169,4 @@ utils.InstallFunctions(extrasUtils, 0, [ |
"markPromiseAsHandled", MarkPromiseAsHandled |
]); |
-utils.Export(function(to) { |
- to.PromiseCreate = PromiseCreate; |
- to.RejectPromise = RejectPromise; |
-}); |
- |
}) |