Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index 674fc8869ad58b59e17e0a85df999a0c74563974..9107290aa03a1ac7af0b2de92e6ccbf37a614488 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -131,6 +131,7 @@ class Representation { |
bool IsNone() const { return kind_ == kNone; } |
bool IsTagged() const { return kind_ == kTagged; } |
bool IsSmi() const { return kind_ == kSmi; } |
+ bool IsSmiOrTagged() const { return IsSmi() || IsTagged(); } |
bool IsInteger32() const { return kind_ == kInteger32; } |
bool IsDouble() const { return kind_ == kDouble; } |
bool IsHeapObject() const { return kind_ == kHeapObject; } |