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

Unified Diff: src/runtime.js

Issue 1302533002: Native context: debug.js does not load from js builtins object anymore. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: make importing requirement more explicit Created 5 years, 4 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/regexp.js ('k') | src/string.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.js
diff --git a/src/runtime.js b/src/runtime.js
index 20b608e9072430597cbdb5607ceb0f0237709522..683970a7f24e043caccedfc6f809395530c136b8 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -66,7 +66,6 @@ var $nonNumberToNumber;
var $nonStringToString;
var $sameValue;
var $sameValueZero;
-var $toBoolean;
var $toInteger;
var $toLength;
var $toName;
@@ -907,7 +906,6 @@ $nonNumberToNumber = NonNumberToNumber;
$nonStringToString = NonStringToString;
$sameValue = SameValue;
$sameValueZero = SameValueZero;
-$toBoolean = ToBoolean;
$toInteger = ToInteger;
$toLength = ToLength;
$toName = ToName;
@@ -917,10 +915,16 @@ $toPrimitive = ToPrimitive;
$toString = ToString;
utils.ExportToRuntime(function(to) {
- to.ToNumber = $toNumber;
- to.ToString = $toString;
- to.ToInteger = $toInteger;
- to.ToLength = $toLength;
+ to.ToNumber = ToNumber;
+ to.ToString = ToString;
+ to.ToInteger = ToInteger;
+ to.ToLength = ToLength;
});
+utils.Export(function(to) {
+ to.ToBoolean = ToBoolean;
+ to.ToNumber = ToNumber;
+ to.ToString = ToString;
+})
+
})
« no previous file with comments | « src/regexp.js ('k') | src/string.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698