diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-11 23:58:25 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-12 19:53:00 +0800 |
commit | cd3e8c175645e9a6a81b5b719868b1f74a528c65 (patch) | |
tree | 76ae1cf70275f29c60b2745f3d261b957df8f9f3 /LValue.cpp | |
parent | b2fadf6b933e9034d5edb49608329fb0f7d015dd (diff) | |
download | dexon-solidity-cd3e8c175645e9a6a81b5b719868b1f74a528c65.tar.gz dexon-solidity-cd3e8c175645e9a6a81b5b719868b1f74a528c65.tar.zst dexon-solidity-cd3e8c175645e9a6a81b5b719868b1f74a528c65.zip |
Fixing byte array index access code generation
Diffstat (limited to 'LValue.cpp')
-rw-r--r-- | LValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |