Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index d61ad5771d7c2caf202abadc85fd3995d7d4ace3..0d700deb009dd83fd933ff28b8ceae5bf6ef776c 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2108,8 +2108,8 @@ void Genesis::InstallJSFunctionResultCaches() { |
void Genesis::InitializeNormalizedMapCaches() { |
- native_context()->set_normalized_map_cache( |
- *NormalizedMapCache::New(isolate())); |
+ Handle<NormalizedMapCache> cache = NormalizedMapCache::New(isolate()); |
+ native_context()->set_normalized_map_cache(*cache); |
} |