diff options
Diffstat (limited to 'ArrayUtils.cpp')
-rw-r--r-- | ArrayUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ArrayUtils.cpp b/ArrayUtils.cpp index a7cf4792..3be12af7 100644 --- a/ArrayUtils.cpp +++ b/ArrayUtils.cpp @@ -674,6 +674,8 @@ void ArrayUtils::accessIndex(ArrayType const& _arrayType) const m_context << _arrayType.getBaseType()->getCalldataEncodedSize() << eth::Instruction::MUL; } m_context << eth::Instruction::ADD; + //@todo we should also load if it is a reference type of dynamic length + // but we should apply special logic if we load from calldata. if (_arrayType.getBaseType()->isValueType()) CompilerUtils(m_context).loadFromMemoryDynamic( *_arrayType.getBaseType(), |