Index: runtime/vm/raw_object.h |
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
index ebd0f2d311bf7d628aa84b3aba652106e9851a62..631630bf8d8c0815598941d645ac0f1e9dd0d55b 100644 |
--- a/runtime/vm/raw_object.h |
+++ b/runtime/vm/raw_object.h |
@@ -377,6 +377,9 @@ class RawObject { |
ptr()->tags_ = RememberedBit::update(false, tags); |
} |
+ bool IsNullOrPseudoNull() { |
+ return (!IsHeapObject() && (GetClassId() == kNullCid)); |
+ } |
turnidge
2014/08/27 16:13:56
I missed where this is used... can you tell me?
rmacnak
2014/08/27 18:09:59
Was used in guard for values not to insert in the
|
bool IsDartInstance() { |
return (!IsHeapObject() || (GetClassId() >= kInstanceCid)); |
} |