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(), |