Skip to content

Commit

Permalink
auto merge of #10244 : thestinger/rust/abort, r=alexcrichton
Browse files Browse the repository at this point in the history
The function is marked `noreturn`, so it shouldn't have this.
  • Loading branch information
bors committed Nov 3, 2013
2 parents 4910b7a + ddbd89b commit 318e1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/middle/trans/intrinsic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 318e1da

Please sign in to comment.