diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-03-16 11:29:41 -0400 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <[email protected]> | 2011-03-16 11:29:41 -0400 |
| commit | 8dc505905831a364d09270f5288781e6770b02e0 (patch) | |
| tree | 159a640cc2ef38eca23fafd4dadcf7bc57576e73 /src/comp | |
| parent | rustc: Remove the memory-managed interface to LLVM memory buffers; passing th... (diff) | |
| download | rust-8dc505905831a364d09270f5288781e6770b02e0.tar.xz rust-8dc505905831a364d09270f5288781e6770b02e0.zip | |
Update comment to reflect the decision to avoid cycles.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/middle/trans.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 4fab3454..d0569afc 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -5508,8 +5508,8 @@ fn collect_items(@crate_ctxt cx, @ast.crate crate) { let fold.ast_fold[@crate_ctxt] fld = fold.new_identity_fold[@crate_ctxt](); - // FIXME: if ty_tag had a pointer directly to the definition instead - // of a def_id, we wouldn't need the second pass. + // FIXME: It might be better to use a worklist for this. An item + // would be added to it if it depends on a not yet seen tag for example. auto fld1 = @rec( update_env_for_item = bind collect_item(_,_), |