| Index: src/debug/mirrors.js
|
| diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
|
| index 84ea9abb0e06e5d9fca978d54a903358b290688a..41c14afd5d33cd7c4aaf7bd62a8d6b064c4d0678 100644
|
| --- a/src/debug/mirrors.js
|
| +++ b/src/debug/mirrors.js
|
| @@ -8,7 +8,6 @@
|
| // ----------------------------------------------------------------------------
|
| // Imports
|
|
|
| -var ErrorToString;
|
| var GlobalArray = global.Array;
|
| var IsNaN = global.isNaN;
|
| var JSONStringify = global.JSON.stringify;
|
| @@ -21,7 +20,6 @@ var SetIteratorNext;
|
| var SetValues;
|
|
|
| utils.Import(function(from) {
|
| - ErrorToString = from.ErrorToString;
|
| MakeError = from.MakeError;
|
| MapEntries = from.MapEntries;
|
| MapIteratorNext = from.MapIteratorNext;
|
| @@ -1255,7 +1253,7 @@ ErrorMirror.prototype.toText = function() {
|
| // Use the same text representation as in messages.js.
|
| var text;
|
| try {
|
| - text = %_Call(ErrorToString, this.value_);
|
| + text = %ErrorToString(this.value_);
|
| } catch (e) {
|
| text = '#<Error>';
|
| }
|
|
|