aboutsummaryrefslogtreecommitdiffstats
path: root/LValue.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-03-11 23:58:25 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-03-12 19:53:00 +0800
commitcd3e8c175645e9a6a81b5b719868b1f74a528c65 (patch)
tree76ae1cf70275f29c60b2745f3d261b957df8f9f3 /LValue.cpp
parentb2fadf6b933e9034d5edb49608329fb0f7d015dd (diff)
downloaddexon-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.cpp2
1 files changed, 1 insertions, 1 deletions
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;