Skip to content

Commit b8c193c

Browse files
committed
---
yaml --- r: 5426 b: refs/heads/master c: f19ab1f h: refs/heads/master v: v3
1 parent 2458673 commit b8c193c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-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: fcd17731cf7e27bcc7abb24b0aefb9d3dce15ed3
2+
refs/heads/master: f19ab1ff3c85973a54cc98e3f98ae240e2d0d816

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4306,7 +4306,7 @@ fn with_out_method(work: fn(out_method) -> result, cx: @block_ctxt,
43064306
// immediate-ness of the type.
43074307
fn type_is_immediate(ccx: @crate_ctxt, t: ty::t) -> bool {
43084308
ret ty::type_is_scalar(ccx.tcx, t) || ty::type_is_boxed(ccx.tcx, t) ||
4309-
ty::type_is_native(ccx.tcx, t);
4309+
ty::type_is_native(ccx.tcx, t) || ty::type_is_bot(ccx.tcx, t);
43104310
}
43114311

43124312
fn do_spill(cx: @block_ctxt, v: ValueRef, t: ty::t) -> result {

trunk/src/test/run-pass/log-ret.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// xfail-test
2+
3+
fn f() { log ret; }
4+
fn main() { f(); }
5+

0 commit comments

Comments
 (0)