Skip to content

Commit fa74edf

Browse files
committed
rustc: Use the correct 'fail' rtcall
1 parent 719a475 commit fa74edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustc/middle/trans/controlflow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ fn trans_fail_value(bcx: block, sp_opt: Option<span>, V_fail_str: ValueRef)
340340
let V_str = PointerCast(bcx, V_fail_str, T_ptr(T_i8()));
341341
let V_filename = PointerCast(bcx, V_filename, T_ptr(T_i8()));
342342
let args = ~[V_str, V_filename, C_int(ccx, V_line)];
343-
let bcx = callee::trans_rtcall(bcx, ~"fail", args, expr::Ignore);
343+
let bcx = callee::trans_rtcall(bcx, ~"fail_", args, expr::Ignore);
344344
Unreachable(bcx);
345345
return bcx;
346346
}

0 commit comments

Comments
 (0)