diff options
| author | Graydon Hoare <[email protected]> | 2011-05-09 17:49:19 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-05-09 17:50:06 -0700 |
| commit | 4539f8a03cfa85fae97140687bc8ed2e48d91a65 (patch) | |
| tree | f2ec0e7aec963b1ed58304567b30d0c7bc8494ab /src/comp/front/creader.rs | |
| parent | rustc: Give our upcall definitions the right values (diff) | |
| download | rust-4539f8a03cfa85fae97140687bc8ed2e48d91a65.tar.xz rust-4539f8a03cfa85fae97140687bc8ed2e48d91a65.zip | |
Alias-ify fold and its users, remove another 85kb.
Diffstat (limited to 'src/comp/front/creader.rs')
| -rw-r--r-- | src/comp/front/creader.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs index 75d83713..832ef131 100644 --- a/src/comp/front/creader.rs +++ b/src/comp/front/creader.rs @@ -441,9 +441,10 @@ fn load_crate(session.session sess, fail; } -fn fold_view_item_use(&env e, &span sp, ast.ident ident, - vec[@ast.meta_item] meta_items, ast.def_id id, Option.t[int] cnum_opt) - -> @ast.view_item { +fn fold_view_item_use(&env e, &span sp, &ast.ident ident, + &vec[@ast.meta_item] meta_items, + &ast.def_id id, &Option.t[int] cnum_opt) + -> @ast.view_item { auto cnum; if (!e.crate_cache.contains_key(ident)) { cnum = e.next_crate_num; |