Replace safety stop by invalid

This commit is contained in:
Leonardo Alt
2018-08-14 12:32:47 +02:00
parent d01ffd1ad9
commit 17cac588d0
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -617,8 +617,8 @@ LinkerObject const& Assembly::assemble() const
}
if (!m_subs.empty() || !m_data.empty() || !m_auxiliaryData.empty())
// Append a STOP just to be sure.
ret.bytecode.push_back(0);
// Append an INVALID here to help tests find miscompilation.
ret.bytecode.push_back(byte(Instruction::INVALID));
for (size_t i = 0; i < m_subs.size(); ++i)
{