harmony-reflect.js 507 Bytes
Newer Older
1 2 3 4
// Copyright 2013 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6 7
// TODO(yangguo): Remove this file. Do all of this in
//                Genesis::InitializeGlobal_harmony_reflect

8
(function(global, utils) {
9

10 11
'use strict';

12
%CheckIsBootstrapping();
13

14
var GlobalReflect = global.Reflect;
15

16
utils.InstallFunctions(GlobalReflect, DONT_ENUM, [
17 18 19
  "apply", $reflectApply,
  "construct", $reflectConstruct
]);
20

21
})