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

Unified Diff: src/v8natives.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/runtime.js ('k') | no next file » | 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 dc1d34cfbcb84939fc147f2fe0cd31314188935f..b051a044b4c532f835a2bdd16ee96c04d4236eab 100644
--- a/src/v8natives.js
+++ b/src/v8natives.js
@@ -1810,10 +1810,10 @@ utils.Export(function(to) {
});
utils.ExportToRuntime(function(to) {
- to.GlobalEval = GlobalEval;
- to.ObjectDefineOwnProperty = DefineOwnPropertyFromAPI;
- to.ObjectGetOwnPropertyDescriptor = ObjectGetOwnPropertyDescriptor;
- to.ToCompletePropertyDescriptor = ToCompletePropertyDescriptor;
+ to["global_eval_fun"] = GlobalEval;
+ to["object_define_own_property"] = DefineOwnPropertyFromAPI;
+ to["object_get_own_property_descriptor"] = ObjectGetOwnPropertyDescriptor;
+ to["to_complete_property_descriptor"] = ToCompletePropertyDescriptor;
});
})
« no previous file with comments | « src/runtime.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698