Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index 6b62ddb18e52467e3b8ef3eb80e4450a9fd04a31..7f44b79277c5188596e55b37c66eee4f02ed3199 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -148,7 +148,7 @@ class Representation { |
bool IsHeapObject() const { return kind_ == kHeapObject; } |
bool IsExternal() const { return kind_ == kExternal; } |
bool IsSpecialization() const { |
- return kind_ == kInteger32 || kind_ == kDouble; |
+ return kind_ == kInteger32 || kind_ == kDouble || kind_ == kSmi; |
} |
const char* Mnemonic() const; |