Index: src/harmony-reflect.js |
diff --git a/src/harmony-reflect.js b/src/harmony-reflect.js |
index 1e6a7d2b7a37bde8d094694b48abc72279fd14ad..f1fe8605e54b090679afb867c0de14feeb30c076 100644 |
--- a/src/harmony-reflect.js |
+++ b/src/harmony-reflect.js |
@@ -2,9 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// TODO(yangguo): Remove this file. Do all of this in |
-// Genesis::InitializeGlobal_harmony_reflect |
- |
(function(global, utils) { |
'use strict'; |
@@ -12,10 +9,12 @@ |
%CheckIsBootstrapping(); |
var GlobalReflect = global.Reflect; |
+var ReflectApply = utils.ImportNow("reflect_apply"); |
+var ReflectConstruct = utils.ImportNow("reflect_construct"); |
utils.InstallFunctions(GlobalReflect, DONT_ENUM, [ |
- "apply", $reflectApply, |
- "construct", $reflectConstruct |
+ "apply", ReflectApply, |
+ "construct", ReflectConstruct |
]); |
}) |