Index: src/arm/virtual-frame-arm.h |
diff --git a/src/arm/virtual-frame-arm.h b/src/arm/virtual-frame-arm.h |
index 8eedf22364607c53c16b43d305664bb3284c0102..82b4d08ab7c4295814b8a533d9ce30b97740b54c 100644 |
--- a/src/arm/virtual-frame-arm.h |
+++ b/src/arm/virtual-frame-arm.h |
@@ -501,7 +501,7 @@ class VirtualFrame : public ZoneObject { |
} |
inline void RaiseHeight(int count, unsigned known_smi_map = 0) { |
- ASSERT(known_smi_map < (1u << count)); |
+ ASSERT(count >= 32 || known_smi_map < (1u << count)); |
element_count_ += count; |
if (count >= kTOSKnownSmiMapSize) { |
tos_known_smi_map_ = known_smi_map; |