Index: src/debug/mirrors.js |
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js |
index 1b45b93d8d77208e16375d3c94dafa1031dd3cfd..24897ae01e8cf1d6ac460555c6d5e310912b389c 100644 |
--- a/src/debug/mirrors.js |
+++ b/src/debug/mirrors.js |
@@ -13,13 +13,15 @@ var GlobalArray = global.Array; |
var IsNaN = global.isNaN; |
var JSONStringify = global.JSON.stringify; |
var MathMin = global.Math.min; |
-var promiseStatusSymbol = utils.GetPrivateSymbol("promise_status_symbol"); |
-var promiseValueSymbol = utils.GetPrivateSymbol("promise_value_symbol"); |
+var promiseStatusSymbol = utils.ImportNow("promise_status_symbol"); |
+var promiseValueSymbol = utils.ImportNow("promise_value_symbol"); |
+var SymbolToString; |
var ToBoolean; |
var ToString; |
utils.Import(function(from) { |
FunctionSourceString = from.FunctionSourceString; |
+ SymbolToString = from.SymbolToString; |
ToBoolean = from.ToBoolean; |
ToString = from.ToString; |
}); |
@@ -694,7 +696,7 @@ SymbolMirror.prototype.description = function() { |
SymbolMirror.prototype.toText = function() { |
- return %_CallFunction(this.value_, builtins.$symbolToString); |
+ return %_CallFunction(this.value_, SymbolToString); |
} |