aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/harmony-regexp.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/harmony-regexp.js')
-rw-r--r--deps/v8/src/harmony-regexp.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/deps/v8/src/harmony-regexp.js b/deps/v8/src/harmony-regexp.js
index 150716744d..1ab76fad4a 100644
--- a/deps/v8/src/harmony-regexp.js
+++ b/deps/v8/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';