Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index b051a044b4c532f835a2bdd16ee96c04d4236eab..a300346dcda1aba127cce734d9d34fb5d4b62ac9 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -1809,11 +1809,11 @@ utils.Export(function(to) { |
to.ToNameArray = ToNameArray; |
}); |
-utils.ExportToRuntime(function(to) { |
- to["global_eval_fun"] = GlobalEval; |
- to["object_define_own_property"] = DefineOwnPropertyFromAPI; |
- to["object_get_own_property_descriptor"] = ObjectGetOwnPropertyDescriptor; |
- to["to_complete_property_descriptor"] = ToCompletePropertyDescriptor; |
-}); |
+%ExportToRuntime([ |
+ "global_eval_fun", GlobalEval, |
+ "object_define_own_property", DefineOwnPropertyFromAPI, |
+ "object_get_own_property_descriptor", ObjectGetOwnPropertyDescriptor, |
+ "to_complete_property_descriptor", ToCompletePropertyDescriptor, |
+]); |
}) |