| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 // TODO(yangguo): Remove this file. Do all of this in |
| 6 // Genesis::InitializeGlobal_harmony_reflect |
| 7 |
| 5 (function(global, utils) { | 8 (function(global, utils) { |
| 6 | 9 |
| 7 'use strict'; | 10 'use strict'; |
| 8 | 11 |
| 9 %CheckIsBootstrapping(); | 12 %CheckIsBootstrapping(); |
| 10 | 13 |
| 11 var GlobalReflect = global.Reflect; | 14 var GlobalReflect = global.Reflect; |
| 12 | 15 |
| 13 utils.InstallFunctions(GlobalReflect, DONT_ENUM, [ | 16 utils.InstallFunctions(GlobalReflect, DONT_ENUM, [ |
| 14 "apply", $reflectApply, | 17 "apply", $reflectApply, |
| 15 "construct", $reflectConstruct | 18 "construct", $reflectConstruct |
| 16 ]); | 19 ]); |
| 17 | 20 |
| 18 }) | 21 }) |
| OLD | NEW |