Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index ec7fb5da6238908563e7e8446394655eba3449da..88960123bf72e38d264a50756ef75d316a1ac814 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); |