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

Side by Side Diff: src/v8natives.js

Issue 1306993003: Call JS functions via native context instead of js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « src/templates.js ('k') | test/cctest/compiler/test-run-jscalls.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils) { 5 (function(global, utils) {
6 6
7 %CheckIsBootstrapping(); 7 %CheckIsBootstrapping();
8 8
9 // ---------------------------------------------------------------------------- 9 // ----------------------------------------------------------------------------
10 // Imports 10 // Imports
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 to.ObjectFreeze = ObjectFreezeJS; 1802 to.ObjectFreeze = ObjectFreezeJS;
1803 to.ObjectGetOwnPropertyKeys = ObjectGetOwnPropertyKeys; 1803 to.ObjectGetOwnPropertyKeys = ObjectGetOwnPropertyKeys;
1804 to.ObjectHasOwnProperty = ObjectHasOwnProperty; 1804 to.ObjectHasOwnProperty = ObjectHasOwnProperty;
1805 to.ObjectIsFrozen = ObjectIsFrozen; 1805 to.ObjectIsFrozen = ObjectIsFrozen;
1806 to.ObjectIsSealed = ObjectIsSealed; 1806 to.ObjectIsSealed = ObjectIsSealed;
1807 to.ObjectToString = ObjectToString; 1807 to.ObjectToString = ObjectToString;
1808 to.OwnPropertyKeys = OwnPropertyKeys; 1808 to.OwnPropertyKeys = OwnPropertyKeys;
1809 to.ToNameArray = ToNameArray; 1809 to.ToNameArray = ToNameArray;
1810 }); 1810 });
1811 1811
1812 utils.ExportToRuntime(function(to) { 1812 %InstallToContext([
1813 to["global_eval_fun"] = GlobalEval; 1813 "global_eval_fun", GlobalEval,
1814 to["object_define_own_property"] = DefineOwnPropertyFromAPI; 1814 "object_define_own_property", DefineOwnPropertyFromAPI,
1815 to["object_get_own_property_descriptor"] = ObjectGetOwnPropertyDescriptor; 1815 "object_get_own_property_descriptor", ObjectGetOwnPropertyDescriptor,
1816 to["to_complete_property_descriptor"] = ToCompletePropertyDescriptor; 1816 "to_complete_property_descriptor", ToCompletePropertyDescriptor,
1817 }); 1817 ]);
1818 1818
1819 }) 1819 })
OLDNEW
« no previous file with comments | « src/templates.js ('k') | test/cctest/compiler/test-run-jscalls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698