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

Unified Diff: src/harmony-reflect.js

Issue 1318043002: Native context: do not put public symbols and flags on the js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix and rebase Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/harmony-concat-spreadable.js ('k') | src/harmony-sharedarraybuffer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
]);
})
« no previous file with comments | « src/harmony-concat-spreadable.js ('k') | src/harmony-sharedarraybuffer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698