aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerContext.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-12-03 08:21:46 +0800
committerchriseth <c@ethdev.com>2016-12-12 00:57:15 +0800
commitefd7b4bfbb5fef99bcf4ee7c98c2ade4c1467f87 (patch)
treebd1ec9b9892d0f34fd213101c4045414433a3f05 /libsolidity/codegen/CompilerContext.cpp
parent4a11200a272278383a003262361d865689d1c87b (diff)
downloaddexon-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.cpp1
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(