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

Unified Diff: runtime/vm/isolate.h

Issue 2567193002: Added method to IsolateVisitor to check for special isolates (i.e., service / vm isolates) since th… (Closed)
Patch Set: Changed name of IsSpecialIsolate to IsVMInternalIsolate Created 4 years 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/lib/vmservice.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 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);
};
« no previous file with comments | « runtime/lib/vmservice.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698