提交 203e33b6 编写于 作者: B Brian Anderson

Make join_results branch into the join block even when only one edge is live.

I don't don't totally understand the implications of this but it makes the
behavior consistent for all live edges, which is going to make joining the
arms of an alt expression work correctly.
上级 6e6acaa3
......@@ -3045,12 +3045,6 @@ fn join_results(@block_ctxt parent_cx,
ret ins.(0);
}
case (1u) {
// Only one incoming edge is live, so we just feed that block
// onward.
ret live.(0);
}
case (_) { /* fall through */ }
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册