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

Unified Diff: src/isolate.cc

Issue 2864032: [Isolates] Statics 7: ExternalReference*/Simulator/dtoa... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: rebase 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/serialize.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 5004)
+++ src/isolate.cc (working copy)
@@ -266,6 +266,13 @@
zone_.isolate_ = this;
stack_guard_.isolate_ = this;
+#if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__)
+ simulator_initialized_ = false;
+ simulator_i_cache_ = NULL;
+ simulator_key_ = Thread::CreateThreadLocalKey();
+ simulator_redirection_ = NULL;
+#endif
+
#ifdef DEBUG
// heap_histograms_ initializes itself.
memset(&js_spill_information_, 0, sizeof(js_spill_information_));
@@ -399,6 +406,10 @@
debug_ = NULL;
#endif
+#if defined(V8_TARGET_ARCH_ARM) && !defined(__arm__)
+ Thread::DeleteThreadLocalKey(simulator_key_);
+#endif
+
if (state_ == INITIALIZED) --number_of_isolates_;
}
« no previous file with comments | « src/isolate.h ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698