Allow stack limit evasion in system yul routines during old code generation.

This commit is contained in:
Daniel Kirchner
2021-08-17 19:00:28 +02:00
parent 8bd358074e
commit 442666d181
10 changed files with 95 additions and 45 deletions
+3
View File
@@ -63,6 +63,9 @@ public:
AssemblyItem(u256 _push, langutil::SourceLocation _location = langutil::SourceLocation()):
AssemblyItem(Push, std::move(_push), std::move(_location)) { }
/// Used only for the free memory pointer as "memoryguard". Should probably be replaced by a separate AssemblyItemType.
AssemblyItem(std::shared_ptr<u256> _pushData, langutil::SourceLocation _location = langutil::SourceLocation()):
m_type(Push), m_data(std::move(_pushData)), m_location(std::move(_location)) { }
AssemblyItem(Instruction _i, langutil::SourceLocation _location = langutil::SourceLocation()):
m_type(Operation),
m_instruction(_i),