From cd3e8c175645e9a6a81b5b719868b1f74a528c65 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Wed, 11 Mar 2015 16:58:25 +0100 Subject: Fixing byte array index access code generation --- LValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LValue.cpp') diff --git a/LValue.cpp b/LValue.cpp index 7b8374b8..dc07ec31 100644 --- a/LValue.cpp +++ b/LValue.cpp @@ -246,7 +246,7 @@ void StorageByteArrayElement::retrieveValue(SourceLocation const&, bool _remove) // stack: ref byte_number if (_remove) m_context << eth::Instruction::SWAP1 << eth::Instruction::SLOAD - << eth::Instruction::SWAP1 << eth::Instruction::BYTE ; + << eth::Instruction::SWAP1 << eth::Instruction::BYTE; else m_context << eth::Instruction::DUP2 << eth::Instruction::SLOAD << eth::Instruction::DUP2 << eth::Instruction::BYTE; -- cgit