| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 3a290691ed9fe400314266cec42a712e0f9596aa..71dd9068706ece836a9debda4b2079963af49e3d 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -2669,10 +2669,11 @@ bool Genesis::InstallNatives(ContextType context_type) {
|
|
|
| if (!CallUtilsFunction(isolate(), "PostNatives")) return false;
|
|
|
| - auto function_cache =
|
| + auto template_instantiations_cache =
|
| ObjectHashTable::New(isolate(), ApiNatives::kInitialFunctionCacheSize,
|
| USE_CUSTOM_MINIMUM_CAPACITY);
|
| - native_context()->set_function_cache(*function_cache);
|
| + native_context()->set_template_instantiations_cache(
|
| + *template_instantiations_cache);
|
|
|
| // Store the map for the %ObjectPrototype% after the natives has been compiled
|
| // and the Object function has been set up.
|
|
|