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

Unified Diff: src/bootstrapper.cc

Issue 1721453002: Remove Reflect.enumerate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | « BUILD.gn ('k') | src/js/harmony-reflect.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 3d30cced7ac0135095aa160a67df3bae61b26e31..59af448c2d18f75a56df988e8c4c28ee424c1bfd 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2420,6 +2420,10 @@ void Genesis::InitializeGlobal_harmony_reflect() {
InstallFunction(reflect, define_property, factory->defineProperty_string());
InstallFunction(reflect, delete_property, factory->deleteProperty_string());
+ SimpleInstallFunction(reflect, factory->apply_string(),
adamk 2016/02/20 00:06:14 Hmm, seems like this is doing the same thing as th
Dan Ehrenberg 2016/02/20 00:12:28 The parser has desugarings into calls to reflect_a
adamk 2016/02/20 00:23:55 Take a look at how object_is_extensible is handled
Dan Ehrenberg 2016/02/20 00:58:55 Thanks for the reference; adopted that pattern. PT
+ Builtins::kReflectApply, 3, false);
+ SimpleInstallFunction(reflect, factory->construct_string(),
+ Builtins::kReflectConstruct, 2, false);
SimpleInstallFunction(reflect, factory->get_string(),
Builtins::kReflectGet, 2, false);
SimpleInstallFunction(reflect, factory->getOwnPropertyDescriptor_string(),
« no previous file with comments | « BUILD.gn ('k') | src/js/harmony-reflect.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698