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

Unified Diff: src/isolate.cc

Issue 1423833003: Canonicalize handles for optimized compilation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 5 years, 2 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/identity-map.cc ('k') | src/json-stringifier.h » ('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 aeaf82ed829f5525edc4384f3bd361d307177876..f50c2fad876a7c8898ce1dc56451166e73815dd6 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1874,8 +1874,6 @@ void Isolate::ClearSerializerData() {
external_reference_table_ = NULL;
delete external_reference_map_;
external_reference_map_ = NULL;
- delete root_index_map_;
- root_index_map_ = NULL;
}
@@ -1935,6 +1933,9 @@ void Isolate::Deinit() {
delete cpu_profiler_;
cpu_profiler_ = NULL;
+ delete root_index_map_;
+ root_index_map_ = NULL;
+
ClearSerializerData();
}
« no previous file with comments | « src/identity-map.cc ('k') | src/json-stringifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698