Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index 9fa436116570519ad2e35f6bf465a721c7923656..8202486384be6590e1b6b92b942880cac776bc54 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -91,6 +91,10 @@ class IsolateVisitor { |
virtual void VisitIsolate(Isolate* isolate) = 0; |
+ protected: |
+ // Checks if an isolate is a vm or service isolate. |
+ bool IsSpecialIsolate(Isolate* isolate) const; |
Cutch
2016/12/12 22:47:26
Let's name it something like:
IsVMInternalIsolate
bkonyi
2016/12/12 22:51:20
Done.
rmacnak
2016/12/12 22:51:38
Probably the kernel isolate too.
|
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(IsolateVisitor); |
}; |