Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 4f56394ef31e988f773b2408b747e5588cfcc8fb..0ae4211ba52187bc16b69e9ec02a2792d006aacf 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2109,9 +2109,8 @@ void Genesis::InstallJSFunctionResultCaches() { |
void Genesis::InitializeNormalizedMapCaches() { |
- Handle<FixedArray> array( |
- factory()->NewFixedArray(NormalizedMapCache::kEntries, TENURED)); |
- native_context()->set_normalized_map_cache(NormalizedMapCache::cast(*array)); |
+ native_context()->set_normalized_map_cache( |
+ *NormalizedMapCache::New(isolate())); |
} |