Yul interpreter executable.

This commit is contained in:
chriseth
2019-02-25 11:57:48 +01:00
parent 0c432a861c
commit e91be8222c
3 changed files with 150 additions and 0 deletions
@@ -485,5 +485,8 @@ void EVMInstructionInterpreter::logTrace(std::string const& _pseudoInstruction,
message += " [" + toHex(_data) + "]";
m_state.trace.emplace_back(std::move(message));
if (m_state.maxTraceSize > 0 && m_state.trace.size() >= m_state.maxTraceSize)
{
m_state.trace.emplace_back("Trace size limit reached.");
throw InterpreterTerminated();
}
}