| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 69608e92da2ce021df16b6b5ccea7b30afc5af82..0085bee53cc952455c10e21e71927fb25ce5ab24 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -199,6 +199,7 @@ class Genesis BASE_EMBEDDED {
|
| // Installs the contents of the native .js files on the global objects.
|
| // Used for creating a context from scratch.
|
| void InstallNativeFunctions();
|
| + void InstallExperimentalNativeFunctions();
|
| bool InstallNatives();
|
| bool InstallExperimentalNatives();
|
| void InstallBuiltinFunctionIds();
|
| @@ -1285,6 +1286,12 @@ void Genesis::InstallNativeFunctions() {
|
| INSTALL_NATIVE(JSObject, "functionCache", function_cache);
|
| }
|
|
|
| +void Genesis::InstallExperimentalNativeFunctions() {
|
| + if (FLAG_harmony_proxies) {
|
| + INSTALL_NATIVE(JSFunction, "DERIVED_GET_TRAP", derived_get_trap);
|
| + }
|
| +}
|
| +
|
| #undef INSTALL_NATIVE
|
|
|
|
|
| @@ -1647,6 +1654,9 @@ bool Genesis::InstallExperimentalNatives() {
|
| if (!CompileExperimentalBuiltin(isolate(), i)) return false;
|
| }
|
| }
|
| +
|
| + InstallExperimentalNativeFunctions();
|
| +
|
| return true;
|
| }
|
|
|
|
|