Make verbatim compatible with KnownState.

This commit is contained in:
chriseth
2021-04-26 19:56:44 +02:00
parent e2d8005737
commit cb1af8b88a
11 changed files with 48 additions and 19 deletions
+2 -2
View File
@@ -69,9 +69,9 @@ void NoOutputAssembly::appendLinkerSymbol(string const&)
yulAssert(false, "Linker symbols not yet implemented.");
}
void NoOutputAssembly::appendVerbatim(bytes const&, int _stackDifference)
void NoOutputAssembly::appendVerbatim(bytes, size_t _arguments, size_t _returnVariables)
{
m_stackHeight += _stackDifference;
m_stackHeight += static_cast<int>(_returnVariables - _arguments);
}
void NoOutputAssembly::appendJump(int _stackDiffAfter, JumpType)