Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935."
This reverts commit f19ab1ff3c85973a54cc98e3f98ae240e2d0d816.
This commit is contained in:
parent
31c04a53e9
commit
80778f642f
@ -4306,7 +4306,7 @@ fn with_out_method(work: fn(out_method) -> result, cx: @block_ctxt,
|
||||
// immediate-ness of the type.
|
||||
fn type_is_immediate(ccx: @crate_ctxt, t: ty::t) -> bool {
|
||||
ret ty::type_is_scalar(ccx.tcx, t) || ty::type_is_boxed(ccx.tcx, t) ||
|
||||
ty::type_is_native(ccx.tcx, t) || ty::type_is_bot(ccx.tcx, t);
|
||||
ty::type_is_native(ccx.tcx, t);
|
||||
}
|
||||
|
||||
fn do_spill(cx: @block_ctxt, v: ValueRef, t: ty::t) -> result {
|
||||
|
@ -1,5 +0,0 @@
|
||||
// xfail-test
|
||||
|
||||
fn f() { log ret; }
|
||||
fn main() { f(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user