Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 94daedff914a8dc03ff77e9f40f48b1a83153bcf..311271e4cfd96207d38944367dcd09607e0da092 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -1751,6 +1751,10 @@ class PatchClass : public Object { |
static intptr_t InstanceSize() { |
return RoundedAllocationSize(sizeof(RawPatchClass)); |
} |
+ static bool IsInFullSnapshot(RawPatchClass* cls) { |
+ NoSafepointScope no_safepoint; |
+ return Class::IsInFullSnapshot(cls->ptr()->patched_class_); |
+ } |
static RawPatchClass* New(const Class& patched_class, |
const Class& source_class); |