Stackifier produces control flow for simple-interpreter test case.
This commit is contained in:
parent
e6963b8d78
commit
1892d62c76
|
@ -213,7 +213,7 @@ impl<'a, 'b> Context<'a, 'b> {
|
||||||
// the target is either a merge block, or is a backward branch
|
// the target is either a merge block, or is a backward branch
|
||||||
// (by RPO number).
|
// (by RPO number).
|
||||||
if self.merge_nodes.contains(&target.block)
|
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);
|
let index = self.resolve_target(target.block);
|
||||||
self.do_blockparam_transfer(
|
self.do_blockparam_transfer(
|
||||||
|
|
Loading…
Reference in a new issue