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

Unified Diff: src/debug/mirrors.js

Issue 1400463002: [builtins] Drop useless ToBoolean JavaScript builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adding ( ) to macros.py. Created 5 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
« no previous file with comments | « src/debug/debug.js ('k') | src/macros.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/mirrors.js
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js
index d73941ddb52005a9360f27f88de248bde73d09c0..8055d4f9a4444423fe829b9d1107a82499ff2a83 100644
--- a/src/debug/mirrors.js
+++ b/src/debug/mirrors.js
@@ -16,12 +16,10 @@ var MathMin = global.Math.min;
var promiseStatusSymbol = utils.ImportNow("promise_status_symbol");
var promiseValueSymbol = utils.ImportNow("promise_value_symbol");
var SymbolToString;
-var ToBoolean;
utils.Import(function(from) {
FunctionSourceString = from.FunctionSourceString;
SymbolToString = from.SymbolToString;
- ToBoolean = from.ToBoolean;
});
// ----------------------------------------------------------------------------
@@ -2072,7 +2070,7 @@ FrameMirror.prototype.evaluate = function(source, disable_break,
this.details_.frameId(),
this.details_.inlinedFrameIndex(),
source,
- ToBoolean(disable_break),
+ TO_BOOLEAN(disable_break),
opt_context_object));
};
« no previous file with comments | « src/debug/debug.js ('k') | src/macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698