rustc: Use the correct 'fail' rtcall

This commit is contained in:
Brian Anderson 2012-09-12 15:04:40 -07:00
parent 719a4750ba
commit fa74edf1a0
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ fn trans_fail_value(bcx: block, sp_opt: Option<span>, V_fail_str: ValueRef)
let V_str = PointerCast(bcx, V_fail_str, T_ptr(T_i8()));
let V_filename = PointerCast(bcx, V_filename, T_ptr(T_i8()));
let args = ~[V_str, V_filename, C_int(ccx, V_line)];
let bcx = callee::trans_rtcall(bcx, ~"fail", args, expr::Ignore);
let bcx = callee::trans_rtcall(bcx, ~"fail_", args, expr::Ignore);
Unreachable(bcx);
return bcx;
}