Skip to content

Commit 036ebc5

Browse files
committed
---
yaml --- r: 16350 b: refs/heads/try c: 88f0374 h: refs/heads/master v: v3
1 parent 68652e1 commit 036ebc5

File tree

9 files changed

+13
-10
lines changed

9 files changed

+13
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 9ee0137018f6e0a20b07e4192be703d0864e6b13
5+
refs/heads/try: 88f03743b0e82fb25cd18f5e5503b03fb65ce0ed
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustc/middle/trans/closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn mk_closure_tys(tcx: ty::ctxt,
136136
}];
137137
}
138138
let bound_data_ty = ty::mk_tup(tcx, bound_tys);
139-
// FIXME[mono] remove tuple of tydescs from closure types
139+
// FIXME[mono] remove tuple of tydescs from closure types (#2531)
140140
let cdata_ty = ty::mk_tup(tcx, [ty::mk_tup(tcx, []),
141141
bound_data_ty]);
142142
#debug["cdata_ty=%s", ty_to_str(tcx, cdata_ty)];

branches/try/src/rustc/middle/trans/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ type block = @{
374374
const first_real_arg: uint = 2u;
375375

376376
// FIXME move blocks to a class once those are finished, and simply use
377-
// option<block> for this.
377+
// option<block> for this. (#2532)
378378
enum block_parent { parent_none, parent_some(block), }
379379

380380
type result = {bcx: block, val: ValueRef};

branches/try/src/rustc/middle/trans/debuginfo.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ fn create_ty(_cx: @crate_ctxt, _t: ty::t, _ty: @ast::ty)
533533
* needed. It is only done to track spans, but you will not get the
534534
* right spans anyway -- types tend to refer to stuff defined
535535
* elsewhere, not be self-contained.
536+
*
537+
* See Issue #2012
536538
*/
537539

538540
fail;
@@ -649,7 +651,7 @@ fn create_local_var(bcx: block, local: @ast::local)
649651

650652
let name = alt local.node.pat.node {
651653
ast::pat_ident(pth, _) { ast_util::path_to_ident(pth) }
652-
// FIXME this should be handled
654+
// FIXME this should be handled (#2533)
653655
_ { fail "no single variable name for local"; }
654656
};
655657
let loc = codemap::lookup_char_pos(cx.sess.codemap,

branches/try/src/rustc/middle/trans/impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ fn trans_iface_callee(bcx: block, val: ValueRef,
148148
let vtable = Load(bcx, PointerCast(bcx, GEPi(bcx, val, [0u, 0u]),
149149
T_ptr(T_ptr(T_vtable()))));
150150
let box = Load(bcx, GEPi(bcx, val, [0u, 1u]));
151-
// FIXME[impl] I doubt this is alignment-safe
151+
// FIXME[impl] I doubt this is alignment-safe (#2534)
152152
let self = GEPi(bcx, box, [0u, abi::box_field_body]);
153153
let env = self_env(self, ty::mk_opaque_box(bcx.tcx()), some(box));
154154
let llfty = type_of::type_of_fn_from_ty(ccx, callee_ty);

branches/try/src/rustc/middle/trans/native.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ fn trans_native_mod(ccx: @crate_ctxt,
701701
}
702702

703703
// FIXME this is very shaky and probably gets ABIs wrong all over
704-
// the place
704+
// the place (#2535)
705705
fn build_direct_fn(ccx: @crate_ctxt, decl: ValueRef,
706706
item: @ast::native_item, tys: @c_stack_tys,
707707
cc: lib::llvm::CallConv) {

branches/try/src/rustc/middle/trans/shape.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ fn gen_enum_shapes(ccx: @crate_ctxt) -> ValueRef {
495495

496496
ret mk_global(ccx, "tag_shapes", C_bytes(header), true);
497497

498+
/* tjc: Not annotating FIXMEs in this module because of #1498 */
498499
fn largest_variants(ccx: @crate_ctxt,
499500
variants: @[ty::variant_info]) -> [uint] {
500501
// Compute the minimum and maximum size and alignment for each

branches/try/src/rustc/middle/trans/tvec.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn alloc_uniq_raw(bcx: block, unit_ty: ty::t,
6060
let llunitty = type_of::type_of(ccx, unit_ty);
6161
let llvecty = T_vec(ccx, llunitty);
6262
let vecsize = Add(bcx, alloc, llsize_of(ccx, llvecty));
63-
let vecbodyty = unit_ty; // FIXME: This is not the correct type
63+
let vecbodyty = unit_ty; // FIXME: This is not the correct type (#2536)
6464
let {box, body} = base::malloc_unique_dyn(bcx, vecbodyty, vecsize);
6565
let boxptr = PointerCast(bcx, box,
6666
T_unique_ptr(T_unique(bcx.ccx(), llvecty)));
@@ -93,7 +93,7 @@ fn duplicate_uniq(bcx: block, vptr: ValueRef, vec_ty: ty::t) -> result {
9393
let unit_ty = ty::sequence_element_type(bcx.tcx(), vec_ty);
9494
let llunitty = type_of::type_of(ccx, unit_ty);
9595
let llvecty = T_vec(ccx, llunitty);
96-
let vecbodyty = unit_ty; // FIXME: This is not the correct type
96+
let vecbodyty = unit_ty; // FIXME: This is not the correct type (#2536)
9797
let {box: newptr, body: new_body_ptr} =
9898
base::malloc_unique_dyn(bcx, vecbodyty, size);
9999
let newptr = PointerCast(bcx, newptr,
@@ -428,7 +428,7 @@ fn iter_vec_raw(bcx: block, data_ptr: ValueRef, vec_ty: ty::t,
428428

429429
// Calculate the last pointer address we want to handle.
430430
// FIXME: Optimize this when the size of the unit type is statically
431-
// known to not use pointer casts, which tend to confuse LLVM.
431+
// known to not use pointer casts, which tend to confuse LLVM. (#2536)
432432
let data_end_ptr = pointer_add(bcx, data_ptr, fill);
433433

434434
// Now perform the iteration.

branches/try/src/rustc/middle/trans/type_use.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ fn mark_for_expr(cx: ctx, e: @expr) {
183183
}
184184
expr_index(base, _) | expr_field(base, _, _) {
185185
// FIXME could be more careful and not count fields
186-
// after the chosen field
186+
// after the chosen field (#2537)
187187
let base_ty = ty::node_id_to_type(cx.ccx.tcx, base.id);
188188
type_needs(cx, use_repr, ty::type_autoderef(cx.ccx.tcx, base_ty));
189189

0 commit comments

Comments
 (0)