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

Unified Diff: src/isolate.cc

Issue 1671813003: [interpreter] move the dispatch table off heap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix verify heap Created 4 years, 10 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/interpreter/interpreter.cc ('k') | src/mips/builtins-mips.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 a274b6a2560e70c2ccff8095cb4ac50e229b693f..9af0abaf5caeabb350c76a0a8eea7a3baba4b390 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1929,9 +1929,6 @@ void Isolate::Deinit() {
Sampler* sampler = logger_->sampler();
if (sampler && sampler->IsActive()) sampler->Stop();
- delete interpreter_;
- interpreter_ = NULL;
-
delete deoptimizer_data_;
deoptimizer_data_ = NULL;
builtins_.TearDown();
@@ -1951,6 +1948,9 @@ void Isolate::Deinit() {
heap_.TearDown();
logger_->TearDown();
+ delete interpreter_;
+ interpreter_ = NULL;
+
cancelable_task_manager()->CancelAndWait();
delete cpu_profiler_;
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698