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

Unified Diff: src/v8.cc

Issue 10807024: Optimize functions on a second thread. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index 2910a0700d92223521dddf8a072fc65fb6fa9615..b65964658c9b182fb1928406ccf8c6a3b8d0fca8 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -106,13 +106,13 @@ void V8::TearDown() {
if (!has_been_set_up_ || has_been_disposed_) return;
+ isolate->TearDown();
+ delete isolate;
Yang 2012/07/19 12:47:30 Why move this code?
sanjoy 2012/07/19 15:06:09 Added comment.
+
ElementsAccessor::TearDown();
LOperand::TearDownCaches();
RegisteredExtension::UnregisterAll();
- isolate->TearDown();
- delete isolate;
-
is_running_ = false;
has_been_disposed_ = true;

Powered by Google App Engine
This is Rietveld 408576698