diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-11 16:42:40 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-11 16:46:01 -0700 |
| commit | 41752b02b984d93f50ce6ab6a8436f876723abfe (patch) | |
| tree | b593c55a7144cf5d0183b56f8ee3647af9fb9b7a /src/rustc | |
| parent | db679a738f10953e0682e277ab85d39c3c546fd1 (diff) | |
Update FIXME numbers
Diffstat (limited to 'src/rustc')
| -rw-r--r-- | src/rustc/middle/trans/expr.rs | 2 | ||||
| -rw-r--r-- | src/rustc/middle/trans/foreign.rs | 2 | ||||
| -rw-r--r-- | src/rustc/middle/trans/tvec.rs | 2 | ||||
| -rw-r--r-- | src/rustc/middle/typeck/check.rs | 5 | ||||
| -rw-r--r-- | src/rustc/middle/typeck/check/method.rs | 2 |
5 files changed, 6 insertions, 7 deletions
diff --git a/src/rustc/middle/trans/expr.rs b/src/rustc/middle/trans/expr.rs index 57439daca2f..4e50f7a848e 100644 --- a/src/rustc/middle/trans/expr.rs +++ b/src/rustc/middle/trans/expr.rs @@ -1465,7 +1465,7 @@ fn trans_assign_op(bcx: block, // A user-defined operator method if bcx.ccx().maps.method_map.find(expr.id).is_some() { - // FIXME(#2582) evaluates the receiver twice!! + // FIXME(#2528) evaluates the receiver twice!! let scratch = scratch_datum(bcx, dst_datum.ty, false); let bcx = trans_overloaded_op(bcx, expr, dst, ~[src], SaveIn(scratch.val), DoAutorefArg); diff --git a/src/rustc/middle/trans/foreign.rs b/src/rustc/middle/trans/foreign.rs index 74dadd2cab4..dbf5ef81046 100644 --- a/src/rustc/middle/trans/foreign.rs +++ b/src/rustc/middle/trans/foreign.rs @@ -909,7 +909,7 @@ fn trans_intrinsic(ccx: @crate_ctxt, decl: ValueRef, item: @ast::foreign_item, let static_ti = get_tydesc(ccx, tp_ty); glue::lazily_emit_all_tydesc_glue(ccx, static_ti); - // FIXME (#2712): change this to T_ptr(ccx.tydesc_ty) when the + // FIXME (#3727): change this to T_ptr(ccx.tydesc_ty) when the // core::sys copy of the get_tydesc interface dies off. let td = PointerCast(bcx, static_ti.tydesc, T_ptr(T_nil())); Store(bcx, td, fcx.llretptr); diff --git a/src/rustc/middle/trans/tvec.rs b/src/rustc/middle/trans/tvec.rs index e1eae115694..b78314a6747 100644 --- a/src/rustc/middle/trans/tvec.rs +++ b/src/rustc/middle/trans/tvec.rs @@ -466,7 +466,7 @@ fn iter_vec_raw(bcx: block, data_ptr: ValueRef, vec_ty: ty::t, let unit_ty = ty::sequence_element_type(bcx.tcx(), vec_ty); // Calculate the last pointer address we want to handle. - // FIXME (#2536): Optimize this when the size of the unit type is + // FIXME (#3729): Optimize this when the size of the unit type is // statically known to not use pointer casts, which tend to confuse // LLVM. let data_end_ptr = pointer_add(bcx, data_ptr, fill); diff --git a/src/rustc/middle/typeck/check.rs b/src/rustc/middle/typeck/check.rs index 7cc2c8b0ad7..c1ab29758f2 100644 --- a/src/rustc/middle/typeck/check.rs +++ b/src/rustc/middle/typeck/check.rs @@ -2278,8 +2278,7 @@ fn check_enum_variants(ccx: @crate_ctxt, let cty = fcx.expr_ty(e); let declty = ty::mk_int(ccx.tcx); demand::suptype(fcx, e.span, declty, cty); - // FIXME: issue #1417 - // Also, check_expr (from check_const pass) doesn't guarantee + // check_expr (from check_const pass) doesn't guarantee // that the expression is in an form that eval_const_expr can // handle, so we may still get an internal compiler error match const_eval::eval_const_expr(ccx.tcx, e) { @@ -2620,7 +2619,7 @@ fn check_intrinsic_type(ccx: @crate_ctxt, it: @ast::foreign_item) { } ~"get_tydesc" => { - // FIXME (#2712): return *intrinsic::tydesc, not *() + // FIXME (#3730): return *intrinsic::tydesc, not *() (1u, ~[], ty::mk_nil_ptr(tcx)) } ~"visit_tydesc" => { diff --git a/src/rustc/middle/typeck/check/method.rs b/src/rustc/middle/typeck/check/method.rs index f3b2c8f1b7e..0d71d61bdaa 100644 --- a/src/rustc/middle/typeck/check/method.rs +++ b/src/rustc/middle/typeck/check/method.rs @@ -363,7 +363,7 @@ impl LookupContext { }; let method = &ms[index]; - /* FIXME(#3468) we should transform the vstore in accordance + /* FIXME(#3157) we should transform the vstore in accordance with the self type match method.self_type { |
