Chromium Code Reviews| Index: src/bootstrapper.cc |
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
| index d6678b81a7aa9175d6478df8e9898ba643b82301..f76e3ef7696e771295677d318c6ccab1781fdfa1 100644 |
| --- a/src/bootstrapper.cc |
| +++ b/src/bootstrapper.cc |
| @@ -1727,6 +1727,7 @@ EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_reflect) |
| EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spreadcalls) |
| EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_destructuring) |
| EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object) |
| +EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_optional_params) |
|
rossberg
2015/05/12 14:04:53
Nit: harmony_default_parameters
|
| void Genesis::InstallNativeFunctions_harmony_proxies() { |
| @@ -1757,6 +1758,7 @@ EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) |
| EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spreadcalls) |
| EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) |
| EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object) |
| +EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_optional_params) |
| void Genesis::InitializeGlobal_harmony_regexps() { |
| Handle<JSObject> builtins(native_context()->builtins()); |
| @@ -2365,6 +2367,7 @@ bool Genesis::InstallExperimentalNatives() { |
| static const char* harmony_destructuring_natives[] = {nullptr}; |
| static const char* harmony_object_natives[] = {"native harmony-object.js", |
| NULL}; |
| + static const char* harmony_optional_params_natives[] = {nullptr}; |
| for (int i = ExperimentalNatives::GetDebuggerCount(); |
| i < ExperimentalNatives::GetBuiltinsCount(); i++) { |