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

Unified Diff: src/isolate.cc

Issue 2867013: [Isolates] CompilationCache was moved to Isolate. (Closed) Base URL: git@github.com:v8isolate/v8isolates.git
Patch Set: Created 10 years, 6 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/isolate.h ('k') | src/jsregexp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 67706485481f5c10d5961dc36d7e89f6bd8e6372..f87feb52d387aefb7e58b4dcf996d5c0fdcc314f 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -30,6 +30,7 @@
#include "v8.h"
#include "bootstrapper.h"
+#include "compilation-cache.h"
#include "debug.h"
#include "heap-profiler.h"
#include "isolate.h"
@@ -109,6 +110,7 @@ Isolate* Isolate::Create(Deserializer* des) {
Isolate::Isolate()
: state_(UNINITIALIZED),
bootstrapper_(NULL),
+ compilation_cache_(new CompilationCache()),
cpu_features_(NULL),
break_access_(OS::CreateMutex()),
stub_cache_(NULL),
@@ -152,6 +154,8 @@ Isolate::~Isolate() {
stub_cache_ = NULL;
delete cpu_features_;
cpu_features_ = NULL;
+ delete compilation_cache_;
+ compilation_cache_ = NULL;
delete bootstrapper_;
bootstrapper_ = NULL;
« no previous file with comments | « src/isolate.h ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698