Merge pull request #9433 from ethereum/reportAllStackErrors

Report all stack errors
This commit is contained in:
chriseth
2020-07-20 15:44:51 +02:00
committed by GitHub
13 changed files with 55 additions and 48 deletions
+1
View File
@@ -522,6 +522,7 @@ map<u256, u256> Assembly::optimiseInternal(
LinkerObject const& Assembly::assemble() const
{
assertThrow(!m_invalid, AssemblyException, "Attempted to assemble invalid Assembly object.");
// Return the already assembled object, if present.
if (!m_assembledObject.bytecode.empty())
return m_assembledObject;