Index: src/js/harmony-reflect.js |
diff --git a/src/js/harmony-reflect.js b/src/js/harmony-reflect.js |
index 76effa1e3fd833a8c2d6b646be2a27b16a197b84..bbca0fef618ac5bd917239ff5a070ef94c3f6cfb 100644 |
--- a/src/js/harmony-reflect.js |
+++ b/src/js/harmony-reflect.js |
@@ -8,10 +8,20 @@ |
%CheckIsBootstrapping(); |
+// ------------------------------------------------------------------- |
+// Imports |
+ |
var GlobalReflect = global.Reflect; |
+var MakeTypeError; |
var ReflectApply = utils.ImportNow("reflect_apply"); |
var ReflectConstruct = utils.ImportNow("reflect_construct"); |
+utils.Import(function(from) { |
+ MakeTypeError = from.MakeTypeError; |
+}); |
+ |
+// ------------------------------------------------------------------- |
+ |
function ReflectEnumerate(obj) { |
if (!IS_SPEC_OBJECT(obj)) |
throw MakeTypeError(kCalledOnNonObject, "Reflect.enumerate") |