Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 218d3b9625880164cc77add838d537432871f628..4680e75204b30bf91770ab04333fa9fcdd7b94d0 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -802,6 +802,7 @@ Handle<CodeCache> Factory::NewCodeCache() { |
Handle<CodeCache>::cast(NewStruct(CODE_CACHE_TYPE)); |
code_cache->set_default_cache(*empty_fixed_array(), SKIP_WRITE_BARRIER); |
code_cache->set_normal_type_cache(*undefined_value(), SKIP_WRITE_BARRIER); |
+ code_cache->set_weak_cell_cache(*undefined_value(), SKIP_WRITE_BARRIER); |
return code_cache; |
} |