Stackifier produces control flow for simple-interpreter test case.

This commit is contained in:
Chris Fallin 2022-11-28 22:25:03 -08:00
parent e6963b8d78
commit 1892d62c76

View file

@ -213,7 +213,7 @@ impl<'a, 'b> Context<'a, 'b> {
// the target is either a merge block, or is a backward branch
// (by RPO number).
if self.merge_nodes.contains(&target.block)
|| self.rpo.rev[target.block] < self.rpo.rev[source]
|| self.rpo.rev[target.block] <= self.rpo.rev[source]
{
let index = self.resolve_target(target.block);
self.do_blockparam_transfer(