Skip to content

Commit 16cd427

Browse files
committed
---
yaml --- r: 4907 b: refs/heads/master c: bead045 h: refs/heads/master i: 4905: bd01eb2 4903: 76c72b2 v: v3
1 parent e834618 commit 16cd427

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 18576e55f72b9bdcb0998870377e09b02b033f8b
2+
refs/heads/master: bead045f2724e3a256a2123a844b079f82047dd4

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4303,7 +4303,7 @@ fn trans_expr_out(cx: &@block_ctxt, e: &@ast::expr, output: out_method) ->
43034303
with_out_method(bind trans_block(sub_cx, blk, _), cx, e.id,
43044304
output);
43054305
cx.build.Br(sub_cx.llbb);
4306-
sub.bcx.build.Br(next_cx.llbb);
4306+
if !is_terminated(sub.bcx) { sub.bcx.build.Br(next_cx.llbb); }
43074307
ret rslt(next_cx, sub.val);
43084308
}
43094309
ast::expr_copy(a) {

0 commit comments

Comments
 (0)