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

Unified Diff: src/heap/heap.cc

Issue 2807023003: [snapshot] encode resource before serializing. (Closed)
Patch Set: fix Created 3 years, 8 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/heap/heap.h ('k') | src/snapshot/deserializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 92ca9a9f9395001389b893e142072e40d07a5c30..da7f446179758be943e1fd32a17d8edf8e596cf0 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -2782,16 +2782,6 @@ void Heap::CreateInitialObjects() {
set_regexp_multiple_cache(*factory->NewFixedArray(
RegExpResultsCache::kRegExpResultsCacheSize, TENURED));
- // Allocate cache for external strings pointing to native source code.
- set_natives_source_cache(
- *factory->NewFixedArray(Natives::GetBuiltinsCount()));
-
- set_extra_natives_source_cache(
- *factory->NewFixedArray(ExtraNatives::GetBuiltinsCount()));
-
- set_experimental_extra_natives_source_cache(
- *factory->NewFixedArray(ExperimentalExtraNatives::GetBuiltinsCount()));
-
set_undefined_cell(*factory->NewCell(factory->undefined_value()));
// Microtask queue uses the empty fixed array as a sentinel for "empty".
« no previous file with comments | « src/heap/heap.h ('k') | src/snapshot/deserializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698