Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index 8691dba44e2958aaf4fe00c78503361b714bca5c..3250082caff8c11e5d85df941c4cbf4451be8c01 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -525,7 +525,8 @@ class Isolate : public BaseIsolate { |
// Used by mutator thread to notify background compiler which fields |
// triggered code invalidation. |
void AddDisablingField(const Field& field); |
- // Returns Field::null() if none available in the list. |
+ // Returns Field::null() if none available in the list. Can be called |
+ // only from background compiler and while mutator thread is at safepoint. |
RawField* GetDisablingField(); |
void ClearDisablingFieldList(); |