diff options
Diffstat (limited to 'deps/v8/src/property-details.h')
-rw-r--r-- | deps/v8/src/property-details.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/property-details.h b/deps/v8/src/property-details.h index 6b62ddb18e..7f44b79277 100644 --- a/deps/v8/src/property-details.h +++ b/deps/v8/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; |