OLD | NEW |
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 Loading... |
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 }) |
OLD | NEW |