Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index ac7ade465f6ad3abf63d9e31b6c804125288aa2d..3bb1f3368e9efdda6cdef3a6b95e9b003a5e4254 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -133,6 +133,7 @@ class Representation { |
bool IsSmi() const { return kind_ == kSmi; } |
bool IsSmiOrTagged() const { return IsSmi() || IsTagged(); } |
bool IsInteger32() const { return kind_ == kInteger32; } |
+ bool IsSmiOrInteger32() const { return IsSmi() || IsInteger32(); } |
bool IsDouble() const { return kind_ == kDouble; } |
bool IsHeapObject() const { return kind_ == kHeapObject; } |
bool IsExternal() const { return kind_ == kExternal; } |