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

Unified Diff: src/debug/mirrors.js

Issue 1384443002: [es6] Fix missing bits for full @@toPrimitive support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove useless cctest. 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
Index: src/debug/mirrors.js
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
index 7b27f5e270fbd1df6f03b53dd7d6d747a7d88ccf..d73941ddb52005a9360f27f88de248bde73d09c0 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -17,13 +17,11 @@ var promiseStatusSymbol = utils.ImportNow("promise_status_symbol");
var promiseValueSymbol = utils.ImportNow("promise_value_symbol");
var SymbolToString;
var ToBoolean;
-var ToString;
utils.Import(function(from) {
FunctionSourceString = from.FunctionSourceString;
SymbolToString = from.SymbolToString;
ToBoolean = from.ToBoolean;
- ToString = from.ToString;
});
// ----------------------------------------------------------------------------
@@ -1174,7 +1172,7 @@ ArrayMirror.prototype.indexedPropertiesFromRange = function(opt_from_index,
if (from_index > to_index) return new GlobalArray();
var values = new GlobalArray(to_index - from_index + 1);
for (var i = from_index; i <= to_index; i++) {
- var details = %DebugGetPropertyDetails(this.value_, ToString(i));
+ var details = %DebugGetPropertyDetails(this.value_, TO_STRING(i));
var value;
if (details) {
value = new PropertyMirror(this, i, details);

Powered by Google App Engine
This is Rietveld 408576698