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