Comments only: fix some comments that got spurious /~s

This commit is contained in:
Michael Sullivan 2012-06-25 20:35:32 -07:00
parent 329eca6044
commit 15b60ac56b
3 changed files with 3 additions and 3 deletions

View file

@ -2055,7 +2055,7 @@ fn trans_external_path(ccx: @crate_ctxt, did: ast::def_id, t: ty::t)
}
fn normalize_for_monomorphization(tcx: ty::ctxt, ty: ty::t) -> option<ty::t> {
// FIXME[mono]/~ could do this recursively. is that worthwhile? (#2529)
// FIXME[mono] could do this recursively. is that worthwhile? (#2529)
alt ty::get(ty).struct {
ty::ty_box(mt) { some(ty::mk_opaque_box(tcx)) }
ty::ty_fn(fty) { some(ty::mk_fn(tcx, {purity: ast::impure_fn,

View file

@ -136,7 +136,7 @@ fn mk_closure_tys(tcx: ty::ctxt,
}]/~;
}
let bound_data_ty = ty::mk_tup(tcx, bound_tys);
// FIXME[mono]/~ remove tuple of tydescs from closure types (#2531)
// FIXME[mono] remove tuple of tydescs from closure types (#2531)
let cdata_ty = ty::mk_tup(tcx, [ty::mk_tup(tcx, []/~),
bound_data_ty]/~);
#debug["cdata_ty=%s", ty_to_str(tcx, cdata_ty)];

View file

@ -151,7 +151,7 @@ fn trans_iface_callee(bcx: block, val: ValueRef,
let vtable = Load(bcx, PointerCast(bcx, GEPi(bcx, val, [0u, 0u]/~),
T_ptr(T_ptr(T_vtable()))));
let box = Load(bcx, GEPi(bcx, val, [0u, 1u]/~));
// FIXME[impl]/~ I doubt this is alignment-safe (#2534)
// FIXME[impl] I doubt this is alignment-safe (#2534)
let self = GEPi(bcx, box, [0u, abi::box_field_body]/~);
let env = self_env(self, ty::mk_opaque_box(bcx.tcx()), some(box));
let llfty = type_of::type_of_fn_from_ty(ccx, callee_ty);