diff options
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -644,6 +644,9 @@ unsigned ArrayType::getSizeOnStack() const if (m_location == Location::CallData) // offset [length] (stack top) return 1 + (isDynamicallySized() ? 1 : 0); + else if (m_location == Location::Storage) + // storage_key storage_offset + return 2; else // offset return 1; |