Index: src/harmony-regexp.js |
diff --git a/src/harmony-regexp.js b/src/harmony-regexp.js |
index 150716744da8f3ad76d90a248e99bf09bd7989ae..1ab76fad4ae9da4dbcec41ecdcdb2cc800852177 100644 |
--- a/src/harmony-regexp.js |
+++ b/src/harmony-regexp.js |
@@ -12,11 +12,6 @@ |
// Imports |
var GlobalRegExp = global.RegExp; |
-var ToString; |
- |
-utils.Import(function(from) { |
- ToString = from.ToString; |
-}); |
// ------------------------------------------------------------------- |
@@ -24,7 +19,7 @@ utils.Import(function(from) { |
// + https://bugs.ecmascript.org/show_bug.cgi?id=3423 |
function RegExpGetFlags() { |
if (!IS_SPEC_OBJECT(this)) { |
- throw MakeTypeError(kFlagsGetterNonObject, ToString(this)); |
+ throw MakeTypeError(kFlagsGetterNonObject, TO_STRING(this)); |
} |
var result = ''; |
if (this.global) result += 'g'; |