diff options
author | chriseth <chris@ethereum.org> | 2017-09-20 17:16:07 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-09-20 17:16:26 +0800 |
commit | e14ab959f928c0a058b7b46d6ba4ee30e7ec08b7 (patch) | |
tree | 76cfdaa435756490590c15e4085e637ca4a24964 /libjulia/backends/evm/EVMCodeTransform.h | |
parent | 6948758156ba31b22fb74a3cd3e7cec0b925208b (diff) | |
download | dexon-solidity-e14ab959f928c0a058b7b46d6ba4ee30e7ec08b7.tar.gz dexon-solidity-e14ab959f928c0a058b7b46d6ba4ee30e7ec08b7.tar.zst dexon-solidity-e14ab959f928c0a058b7b46d6ba4ee30e7ec08b7.zip |
Remove unintentional copy in assignment operation.
Diffstat (limited to 'libjulia/backends/evm/EVMCodeTransform.h')
-rw-r--r-- | libjulia/backends/evm/EVMCodeTransform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libjulia/backends/evm/EVMCodeTransform.h b/libjulia/backends/evm/EVMCodeTransform.h index bb2be786..951c8a50 100644 --- a/libjulia/backends/evm/EVMCodeTransform.h +++ b/libjulia/backends/evm/EVMCodeTransform.h @@ -124,7 +124,8 @@ private: /// to @a _blackStartStackHeight. void finalizeBlock(solidity::assembly::Block const& _block, int _blockStartStackHeight); - void generateAssignment(std::vector<solidity::assembly::Identifier> const& _variableNames); + void generateMultiAssignment(std::vector<solidity::assembly::Identifier> const& _variableNames); + void generateAssignment(solidity::assembly::Identifier const& _variableName); /// Determines the stack height difference to the given variables. Throws /// if it is not yet in scope or the height difference is too large. Returns |