Yet more neatening

This commit is contained in:
Jed Davis 2013-10-03 13:58:01 -07:00
parent 727731f89e
commit 92109b1202

View File

@ -326,14 +326,12 @@ fn range_to_inttype(cx: &mut CrateContext, hint: Hint, bounds: &IntBounds) -> In
attempts = choose_shortest;
}
}
let mut best = attr::UnsignedInt(ast::ty_u64);
for &ity in attempts.iter() {
if bounds_usable(cx, ity, bounds) {
best = ity;
break;
return ity;
}
}
return best;
return attr::UnsignedInt(ast::ty_u64);
}
pub fn ll_inttype(cx: &mut CrateContext, ity: IntType) -> Type {