Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/harmony-reflect.js

Issue 1306993003: Call JS functions via native context instead of js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/harmony-spread.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 })
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | src/harmony-spread.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698