| Index: src/harmony-tostring.js
|
| diff --git a/src/harmony-tostring.js b/src/harmony-tostring.js
|
| index 0c3f3ca9e21ec8b168c53a6d2922fa8cc45be8fb..ccd02ca6c9e3cd8b97288a0723d2c38ef50475e3 100644
|
| --- a/src/harmony-tostring.js
|
| +++ b/src/harmony-tostring.js
|
| @@ -4,24 +4,6 @@
|
|
|
| "use strict";
|
|
|
| -// This file relies on the fact that the following declaration has been made
|
| -// in runtime.js and symbol.js:
|
| -// var $Object = global.Object;
|
| -
|
| -DefaultObjectToString = ObjectToStringHarmony;
|
| -// ES6 draft 08-24-14, section 19.1.3.6
|
| -function ObjectToStringHarmony() {
|
| - if (IS_UNDEFINED(this) && !IS_UNDETECTABLE(this)) return "[object Undefined]";
|
| - if (IS_NULL(this)) return "[object Null]";
|
| - var O = ToObject(this);
|
| - var builtinTag = %_ClassOf(O);
|
| - var tag = O[symbolToStringTag];
|
| - if (!IS_STRING(tag)) {
|
| - tag = builtinTag;
|
| - }
|
| - return "[object " + tag + "]";
|
| -}
|
| -
|
| function HarmonyToStringExtendSymbolPrototype() {
|
| %CheckIsBootstrapping();
|
|
|
|
|