diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-12-03 08:21:46 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-12-12 00:57:15 +0800 |
commit | efd7b4bfbb5fef99bcf4ee7c98c2ade4c1467f87 (patch) | |
tree | bd1ec9b9892d0f34fd213101c4045414433a3f05 /libsolidity/codegen/CompilerContext.cpp | |
parent | 4a11200a272278383a003262361d865689d1c87b (diff) | |
download | dexon-solidity-efd7b4bfbb5fef99bcf4ee7c98c2ade4c1467f87.tar.gz dexon-solidity-efd7b4bfbb5fef99bcf4ee7c98c2ade4c1467f87.tar.zst dexon-solidity-efd7b4bfbb5fef99bcf4ee7c98c2ade4c1467f87.zip |
Reset stack height after inline assembly block
Diffstat (limited to 'libsolidity/codegen/CompilerContext.cpp')
-rw-r--r-- | libsolidity/codegen/CompilerContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp index 3a70e523..59750504 100644 --- a/libsolidity/codegen/CompilerContext.cpp +++ b/libsolidity/codegen/CompilerContext.cpp @@ -218,6 +218,7 @@ void CompilerContext::appendInlineAssembly( }; solAssert(assembly::InlineAssemblyStack().parseAndAssemble(*assembly, *m_asm, identifierAccess), "Failed to assemble inline assembly block."); + setStackOffset(startStackHeight); } FunctionDefinition const& CompilerContext::resolveVirtualFunction( |