Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index cf4774c3314c0823ffb7f2e84fecc76c1dbf0fbd..201a06ca0898e0e7981a1a582c23e41852692a05 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -61,13 +61,13 @@ function CreateResolvingFunctions(promise) { |
var GlobalPromise = function Promise(resolver) { |
if (resolver === promiseRawSymbol) { |
- return %NewObject(GlobalPromise, new.target); |
+ return %_NewObject(GlobalPromise, new.target); |
} |
if (IS_UNDEFINED(new.target)) throw MakeTypeError(kNotAPromise, this); |
if (!IS_CALLABLE(resolver)) |
throw MakeTypeError(kResolverNotAFunction, resolver); |
- var promise = PromiseInit(%NewObject(GlobalPromise, new.target)); |
+ var promise = PromiseInit(%_NewObject(GlobalPromise, new.target)); |
var callbacks = CreateResolvingFunctions(promise); |
try { |