diff --git a/src/librustc/middle/trans/intrinsic.rs b/src/librustc/middle/trans/intrinsic.rs index f580683cd4e9..ce62b26c9ab8 100644 --- a/src/librustc/middle/trans/intrinsic.rs +++ b/src/librustc/middle/trans/intrinsic.rs @@ -221,7 +221,7 @@ pub fn trans_intrinsic(ccx: @mut CrateContext, "abort" => { let llfn = bcx.ccx().intrinsics.get_copy(&("llvm.trap")); Call(bcx, llfn, [], []); - RetVoid(bcx); + Unreachable(bcx); } "size_of" => { let tp_ty = substs.tys[0];