Reset stack height after inline assembly block

This commit is contained in:
Alex Beregszaszi 2016-12-03 00:21:46 +00:00 committed by chriseth
parent 4a11200a27
commit efd7b4bfbb

View File

@ -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(