Compatibility with StackCompressor and StackLimitEvader.

This commit is contained in:
Daniel Kirchner
2021-09-15 17:05:05 +02:00
parent f45644d79d
commit 6205b3a9d2
5 changed files with 193 additions and 41 deletions
-3
View File
@@ -1032,9 +1032,6 @@ string IRGenerator::dispatchRoutine(ContractDefinition const& _contract)
string IRGenerator::memoryInit(bool _useMemoryGuard)
{
// TODO: Remove once we have made sure it is safe, i.e. after "Yul memory objects lite".
// Also restore the tests removed in the commit that adds this comment.
_useMemoryGuard = false;
// This function should be called at the beginning of the EVM call frame
// and thus can assume all memory to be zero, including the contents of
// the "zero memory area" (the position CompilerUtils::zeroPointer points to).