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

Unified Diff: src/runtime.js

Issue 1307963002: Native context: alpha sort slots and remove boilerplate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rename 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/proxy.js ('k') | src/v8natives.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 e2e6d2ef351216f0f0a13c99d9c50dd1a562dbfc..de64541496f41ac4ce59cc7836943588804a0acb 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -915,10 +915,10 @@ $toString = ToString;
});
utils.ExportToRuntime(function(to) {
- to.ToNumber = ToNumber;
- to.ToString = ToString;
- to.ToInteger = ToInteger;
- to.ToLength = ToLength;
+ to["to_integer_fun"] = ToInteger;
+ to["to_length_fun"] = ToLength;
+ to["to_number_fun"] = ToNumber;
+ to["to_string_fun"] = ToString;
});
utils.Export(function(to) {
« no previous file with comments | « src/proxy.js ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698