aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/ArrayUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ArrayUtils.cpp b/libsolidity/codegen/ArrayUtils.cpp
index bbb01c7d..c06d83e2 100644
--- a/libsolidity/codegen/ArrayUtils.cpp
+++ b/libsolidity/codegen/ArrayUtils.cpp
@@ -66,7 +66,7 @@ void ArrayUtils::copyArrayToStorage(ArrayType const& _targetType, ArrayType cons
{
// increment source pointer to point to data
m_context << solidity::Instruction::SWAP1 << u256(0x20);
- m_context << solidity::Instruction::ADD << solidity::Instruction::SWAP1;
+ m_context << solidity::Instruction::ADD << Instruction::SWAP1;
}
// stack: target_ref source_ref source_length