Index: src/harmony-object.js |
diff --git a/src/harmony-object.js b/src/harmony-object.js |
index f90de536f8fe09f636f0f5d8bcb07d575c01f055..382f7f4252b27e3761e85a8be1af2c62fb52082f 100644 |
--- a/src/harmony-object.js |
+++ b/src/harmony-object.js |
@@ -9,7 +9,18 @@ |
%CheckIsBootstrapping(); |
+// ------------------------------------------------------------------- |
+// Imports |
+ |
var GlobalObject = global.Object; |
+ |
+var OwnPropertyKeys; |
+ |
+utils.Import(function(from) { |
+ OwnPropertyKeys = from.OwnPropertyKeys; |
+}); |
+ |
+// ------------------------------------------------------------------- |
// ES6, draft 04-03-15, section 19.1.2.1 |
function ObjectAssign(target, sources) { |
@@ -24,7 +35,7 @@ |
} |
var from = TO_OBJECT_INLINE(nextSource); |
- var keys = $ownPropertyKeys(from); |
+ var keys = OwnPropertyKeys(from); |
var len = keys.length; |
for (var j = 0; j < len; ++j) { |
@@ -39,7 +50,7 @@ |
} |
// Set up non-enumerable functions on the Object object. |
-$installFunctions(GlobalObject, DONT_ENUM, [ |
+utils.InstallFunctions(GlobalObject, DONT_ENUM, [ |
"assign", ObjectAssign |
]); |