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

Unified Diff: src/heap/heap.cc

Issue 2280933002: Always deserialize scope infos for parsing (Closed)
Patch Set: updates Created 4 years, 4 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/ast/scopes.cc ('k') | src/isolate.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 41179f9a892a0967c3e82d1a79d0ddbee0fa7f9c..616c96e909fa632e4ce329e87cdedf342b4f026d 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -6,7 +6,6 @@
#include "src/accessors.h"
#include "src/api.h"
-#include "src/ast/context-slot-cache.h"
#include "src/base/bits.h"
#include "src/base/once.h"
#include "src/base/utils/random-number-generator.h"
@@ -1475,7 +1474,6 @@ void Heap::MarkCompactPrologue() {
// At any old GC clear the keyed lookup cache to enable collection of unused
// maps.
isolate_->keyed_lookup_cache()->Clear();
- isolate_->context_slot_cache()->Clear();
isolate_->descriptor_lookup_cache()->Clear();
RegExpResultsCache::Clear(string_split_cache());
RegExpResultsCache::Clear(regexp_multiple_cache());
@@ -2891,9 +2889,6 @@ void Heap::CreateInitialObjects() {
// Initialize keyed lookup cache.
isolate_->keyed_lookup_cache()->Clear();
- // Initialize context slot cache.
- isolate_->context_slot_cache()->Clear();
-
// Initialize descriptor cache.
isolate_->descriptor_lookup_cache()->Clear();
« no previous file with comments | « src/ast/scopes.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698