tweaks to address concerns flagged by Coverity

This commit is contained in:
Vern Paxson 2021-09-13 12:57:15 -07:00
parent 8414d13030
commit 7f3993ca0e
8 changed files with 45 additions and 10 deletions

View file

@ -1007,6 +1007,8 @@ void ZAMCompiler::KillInst(int i)
if ( inst->IsUnconditionalBranch() )
{
ASSERT(t);
// No direct flow after this point ... unless we're
// branching to the next immediate live instruction.
auto after_inst = NextLiveInst(inst, true);