Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: src/bootstrapper.cc

Issue 1660263003: Revert of [api] Make ObjectTemplate::SetNativeDataProperty() work even if the ObjectTemplate ... (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 71dd9068706ece836a9debda4b2079963af49e3d..3a290691ed9fe400314266cec42a712e0f9596aa 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2669,11 +2669,10 @@
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.
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698