auto merge of : thestinger/rust/overflow, r=huonw

This is pointless, since it's just used to load an `undef` value and
never touched again.
This commit is contained in:
bors 2013-10-02 12:11:39 -07:00
commit 353578a7b3

@ -65,7 +65,7 @@ pub fn trans_intrinsic(ccx: @mut CrateContext,
let val = Call(bcx, llfn, [a, b], []);
let result = ExtractValue(bcx, val, 0);
let overflow = ZExt(bcx, ExtractValue(bcx, val, 1), Type::bool());
let ret = Load(bcx, Alloca(bcx, type_of::type_of(bcx.ccx(), t), ""));
let ret = C_undef(type_of::type_of(bcx.ccx(), t));
let ret = InsertValue(bcx, ret, result, 0);
let ret = InsertValue(bcx, ret, overflow, 1);