Chromium Code Reviews| Index: runtime/vm/raw_object.h |
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
| index 32f5d83098f9f5e5f09850f2ab1686324d36630f..0e28b3190f01d18be0c3bbed79a8c91cbf64ee5a 100644 |
| --- a/runtime/vm/raw_object.h |
| +++ b/runtime/vm/raw_object.h |
| @@ -347,6 +347,10 @@ class RawObject { |
| ptr()->tags_ = RememberedBit::update(false, tags); |
| } |
| + bool IsRawClass() { |
|
rmacnak
2013/09/19 00:46:04
Will remove before commit, just here to demonstrat
|
| + return IsHeapObject() && (GetClassId() == kClassCid); |
| + } |
| + |
| bool IsDartInstance() { |
| return (!IsHeapObject() || (GetClassId() >= kInstanceCid)); |
| } |