Skip to content

Commit 07eb29d

Browse files
committed
Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935."
This reverts commit e6a84f2.
1 parent ce0f054 commit 07eb29d

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/comp/middle/trans.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4303,7 +4303,7 @@ fn with_out_method(work: fn(out_method) -> result, cx: @block_ctxt,
43034303
// immediate-ness of the type.
43044304
fn type_is_immediate(ccx: @crate_ctxt, t: ty::t) -> bool {
43054305
ret ty::type_is_scalar(ccx.tcx, t) || ty::type_is_boxed(ccx.tcx, t) ||
4306-
ty::type_is_native(ccx.tcx, t) || ty::type_is_bot(ccx.tcx, t);
4306+
ty::type_is_native(ccx.tcx, t);
43074307
}
43084308

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

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

-5
This file was deleted.

0 commit comments

Comments
 (0)