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

Unified Diff: runtime/vm/isolate.h

Issue 1225103005: Remove incorrect ASSERT (profiler thread needs to walk stack). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index c5e483bdbbbc45cdf39930a1e60e899ad58af980..88c789d35daa4a8208644eb0329c06c6334469a2 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -221,12 +221,13 @@ class Isolate : public BaseIsolate {
ASSERT(Thread::Current() == mutator_thread_);
mutator_thread_->set_top_resource(value);
}
+ // DEPRECATED: Use Thread's methods instead. During migration, these default
+ // to using the mutator thread.
+ // NOTE: These are also used by the profiler.
uword top_exit_frame_info() const {
- ASSERT(Thread::Current() == mutator_thread_);
return mutator_thread_->top_exit_frame_info();
}
void set_top_exit_frame_info(uword value) {
- ASSERT(Thread::Current() == mutator_thread_);
mutator_thread_->set_top_exit_frame_info(value);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698