aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ContractCompiler.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-07-06 18:45:11 +0800
committerGitHub <noreply@github.com>2017-07-06 18:45:11 +0800
commit0fb4cb1ab9bb4b6cc72e28cc5a1753ad14781f14 (patch)
tree1031e61422e41884ecd548953f83ef4df9441f61 /libsolidity/codegen/ContractCompiler.cpp
parent194ff033ae44944ac59aa7bd3da89ba94ec5893c (diff)
parent40d4ee49528affa1e88031920a9be57375ad5788 (diff)
downloaddexon-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.cpp3
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()) +