diff options
author | chriseth <chris@ethereum.org> | 2017-07-06 18:45:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-06 18:45:11 +0800 |
commit | 0fb4cb1ab9bb4b6cc72e28cc5a1753ad14781f14 (patch) | |
tree | 1031e61422e41884ecd548953f83ef4df9441f61 /libsolidity/codegen/ContractCompiler.cpp | |
parent | 194ff033ae44944ac59aa7bd3da89ba94ec5893c (diff) | |
parent | 40d4ee49528affa1e88031920a9be57375ad5788 (diff) | |
download | dexon-solidity-0fb4cb1ab9bb4b6cc72e28cc5a1753ad14781f14.tar.gz dexon-solidity-0fb4cb1ab9bb4b6cc72e28cc5a1753ad14781f14.tar.zst dexon-solidity-0fb4cb1ab9bb4b6cc72e28cc5a1753ad14781f14.zip |
Merge pull request #2532 from ethereum/develop
Merge develop to release for 0.4.13.
Diffstat (limited to 'libsolidity/codegen/ContractCompiler.cpp')
-rw-r--r-- | libsolidity/codegen/ContractCompiler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp index c358a519..cad388df 100644 --- a/libsolidity/codegen/ContractCompiler.cpp +++ b/libsolidity/codegen/ContractCompiler.cpp @@ -928,7 +928,10 @@ void ContractCompiler::appendModifierOrFunctionCode() ); } for (VariableDeclaration const* localVariable: modifier.localVariables()) + { + addedVariables.push_back(localVariable); appendStackVariableInitialisation(*localVariable); + } stackSurplus = CompilerUtils::sizeOnStack(modifier.parameters()) + |