Remove gotos before labels even if those labels are ref'd elsewhere

This commit is contained in:
baldurk
2015-07-30 01:08:05 +02:00
parent 4c90182cdf
commit 7a71dd4172
@@ -1227,6 +1227,12 @@ struct SPVModule
funcops.erase(funcops.begin()+l);
continue;
}
else
{
// if it is refd, we can at least remove the goto
funcops.erase(funcops.begin()+l);
continue;
}
}
}