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

Unified Diff: src/isolate.cc

Issue 2463002: - Add a pointer to StubCache from Isolate.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 10 years, 7 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/stub-cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
===================================================================
--- src/isolate.cc (revision 4763)
+++ src/isolate.cc (working copy)
@@ -64,11 +64,14 @@
}
-Isolate::Isolate() {
+Isolate::Isolate()
+ : stub_cache_(NULL) {
}
Isolate::~Isolate() {
+ delete stub_cache_;
+ stub_cache_ = NULL;
}
@@ -122,6 +125,7 @@
#ifdef ENABLE_DEBUGGER_SUPPORT
Debug::Setup(create_heap_objects);
#endif
+ stub_cache_ = new StubCache();
StubCache::Initialize(create_heap_objects);
// If we are deserializing, read the state into the now-empty heap.
« no previous file with comments | « src/isolate.h ('k') | src/stub-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698