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

Unified Diff: runtime/vm/isolate.h

Issue 1410643008: Get rid of deprecated methods accessing mutator_thread_ instead of current thread (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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 | « runtime/vm/heap.cc ('k') | runtime/vm/isolate.cc » ('j') | 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 a88569aaa49f49f725e1aa44e18036c12cee729e..86575f01ffb0c2a0b0df8e0976ad7be890524609 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -188,26 +188,6 @@ class Isolate : public BaseIsolate {
ObjectStore* object_store() const { return object_store_; }
void set_object_store(ObjectStore* value) { object_store_ = value; }
- // DEPRECATED: Use Thread's methods instead. During migration, these default
- // to using the mutator thread (which must also be the current thread).
- StackResource* top_resource() const {
- ASSERT(Thread::Current() == mutator_thread_);
- return mutator_thread_->top_resource();
- }
- void set_top_resource(StackResource* value) {
- 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 {
- return mutator_thread_->top_exit_frame_info();
- }
- void set_top_exit_frame_info(uword value) {
- mutator_thread_->set_top_exit_frame_info(value);
- }
-
ApiState* api_state() const { return api_state_; }
void set_api_state(ApiState* value) { api_state_ = value; }
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698