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

Unified Diff: src/v8natives.js

Issue 546803003: Update ObjectToString to Harmony-draft algorithm (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Teach NoSideEffectToString() that ObjectToString was extended Created 6 years, 2 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
« src/messages.js ('K') | « src/symbol.js ('k') | src/weak-collection.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8natives.js
diff --git a/src/v8natives.js b/src/v8natives.js
index 92f377c4ef1b6ddf3766279d06ce6aecd585cd5a..edddd5403ad11068d1fca64cc84008cc5e0555b2 100644
--- a/src/v8natives.js
+++ b/src/v8natives.js
@@ -215,6 +215,7 @@ SetUpGlobal();
// ----------------------------------------------------------------------------
// Object
+var DefaultObjectToString = ObjectToString;
Dmitry Lomov (no reviews) 2014/10/21 06:11:53 Please rename ObjectToString to NoSideEffectsObjec
caitp (gmail) 2014/10/21 14:54:45 Acknowledged.
// ECMA-262 - 15.2.4.2
function ObjectToString() {
if (IS_UNDEFINED(this) && !IS_UNDETECTABLE(this)) return "[object Undefined]";
« src/messages.js ('K') | « src/symbol.js ('k') | src/weak-collection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698