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

This commit is contained in:
Daniel Kirchner
2021-09-15 17:34:40 +02:00
parent 2e6d3e0a1b
commit abf0e47e0a
10 changed files with 95 additions and 45 deletions
+3
View File
@@ -62,6 +62,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),