Index: runtime/vm/raw_object.h |
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
index c7c44a28f052115f1b65cd92431728a4d573ee91..9f394f990715781e5fa70f96a3ce0df52f45a4fb 100644 |
--- a/runtime/vm/raw_object.h |
+++ b/runtime/vm/raw_object.h |
@@ -436,6 +436,15 @@ class RawObject { |
bool IsString() { |
return IsStringClassId(GetClassId()); |
} |
+ bool IsStackmap() { |
+ return ((GetClassId() == kStackmapCid)); |
+ } |
+ bool IsPcDescriptors() { |
+ return ((GetClassId() == kPcDescriptorsCid)); |
+ } |
+ bool IsOneByteString() { |
+ return ((GetClassId() == kOneByteStringCid)); |
+ } |
intptr_t Size() const { |
uword tags = ptr()->tags_; |