Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index 24ca74b531c36d5af8313e0b9ea510ead55d658b..348d5fb93ebf5de4625f7815629c0bca7ecef209 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -248,8 +248,6 @@ function PromiseIdResolveHandler(x) { return x; } |
function PromiseIdRejectHandler(r) { %_ReThrow(r); } |
SET_PRIVATE(PromiseIdRejectHandler, promiseForwardingHandlerSymbol, true); |
-function PromiseNopResolver() {} |
- |
// ------------------------------------------------------------------- |
// Define exported functions. |
@@ -261,7 +259,7 @@ function IsPromise(x) { |
} |
function PromiseCreate() { |
- return new GlobalPromise(PromiseNopResolver); |
+ return PromiseInit(new GlobalPromise(promiseRawSymbol)); |
} |
// ES#sec-promise-resolve-functions |