Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Unified Diff: src/harmony-regexp.js

Issue 1323543002: [runtime] Replace %to_string_fun with %_ToString. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@ToStringStub
Patch Set: REBASE. Fixes Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/date.js ('k') | src/i18n.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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';
« no previous file with comments | « src/date.js ('k') | src/i18n.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698