Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index 692351b884d5412f85b9ca289feace2976e90caa..0e7a224b2f22584f47b4c5d4f50fdeed9ccb7247 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -655,17 +655,6 @@ class Isolate : public BaseIsolate { |
// Handle service messages until we are told to resume execution. |
void PauseEventHandler(); |
- // DEPRECATED: Use Thread's methods instead. During migration, these default |
- // to using the mutator thread (which must also be the current thread). |
- Zone* current_zone() const { |
- ASSERT(Thread::Current() == mutator_thread_); |
- return mutator_thread_->zone(); |
- } |
- void set_current_zone(Zone* zone) { |
- ASSERT(Thread::Current() == mutator_thread_); |
- mutator_thread_->set_zone(zone); |
- } |
- |
bool is_service_isolate() const { return is_service_isolate_; } |
static void KillAllIsolates(LibMsgId msg_id); |
@@ -729,6 +718,13 @@ class Isolate : public BaseIsolate { |
bool IsIsolateOf(Thread* thread); |
#endif // DEBUG |
+ // DEPRECATED: Use Thread's methods instead. During migration, these default |
+ // to using the mutator thread (which must also be the current thread). |
+ Zone* current_zone() const { |
+ ASSERT(Thread::Current() == mutator_thread_); |
+ return mutator_thread_->zone(); |
+ } |
+ |
// Accessed from generated code: |
uword stack_limit_; |
StoreBuffer* store_buffer_; |