Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index 9fa436116570519ad2e35f6bf465a721c7923656..e694d39ba5edd5300d9dcb424dd9225abc3964c9 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -91,6 +91,10 @@ class IsolateVisitor { |
virtual void VisitIsolate(Isolate* isolate) = 0; |
+ protected: |
+ // Returns true if |isolate| is the VM or service isolate. |
+ bool IsVMInternalIsolate(Isolate* isolate) const; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(IsolateVisitor); |
}; |