about summary refs log tree commit diff
path: root/src/rustc/metadata
AgeCommit message (Collapse)AuthorLines
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-10/+8
2012-06-20Remove bind. Issue #2189Brian Anderson-8/+8
2012-06-14Further work on integer literal suffix inference (#1425)Lindsey Kuper-2/+1
In this commit: * Change the lit_int_unsuffixed AST node to not carry a type, since it doesn't need one * Don't print "(unsuffixed)" when pretty-printing unsuffixed integer literals * Just print "I" instead of "(integral)" for integral type variables * Set up trans to use the information that will be gathered during typeck to construct the appropriate constants for unsuffixed int literals * Add logic for handling int_ty_sets in typeck::infer * Clean up unnecessary code in typeck::infer * Add missing mk_ functions to middle::ty * Add ty_var_integral to a few of the type utility functions it was missing from in middle::ty
2012-06-13Allow impls to be re-exportedTim Chevalier-5/+9
It was a little hard for me to believe, but it seems that re-exporting an impl doesn't work at a, because encoder::encode_info_for_mod requires that all the impls in the current module's impl map be local (that is, bound to a value in the current crate's item map). Fixed it. Closes #2414.
2012-06-13Box AST identsBrian Anderson-106/+111
2012-06-12Handle class destructors correctly in metadataTim Chevalier-21/+34
This allows destructors to be inlined, which is necessary since classes can have both ty params and destructors.
2012-06-12Introduce an unboxed_vec typeMichael Sullivan-0/+2
2012-06-08remove alias analysis and replace with borrowckNiko Matsakis-1/+0
This reverts commit 7ef825bb607c4e934c92bd0b73ecbc4c24f3286b.
2012-06-08WIP on issue #1425: mostly infrastructure changes.Lindsey Kuper-1/+1
2012-06-07Revert "remove alias analysis and replace with borrowck"Brian Anderson-0/+1
18s perf regression compiling rustc with opts This reverts commit 7f6ee0ce0df8af4c21b065cb49b95079ae643f77.
2012-06-07remove alias analysis and replace with borrowckNiko Matsakis-1/+0
cc #2540
2012-06-06Merge remote-tracking branch 'mozilla/incoming'Niko Matsakis-1/+1
Conflicts: src/rustc/middle/tstate/auxiliary.rs
2012-06-06move to dvec in metadataNiko Matsakis-14/+19
2012-06-06Revert "Revert "Merge pull request #2516 from mozilla/incoming" due to failures"Tim Chevalier-1/+1
This reverts commit 9fae95860de510f6874810cf43efb83f101246ef.
2012-06-04better support for classes with polymorphic methodsNiko Matsakis-1/+1
2012-06-02Add ty_var_integral (WIP on issue #1425).Lindsey Kuper-0/+6
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-1/+1
Per issue #2418.
2012-05-30integrate purity into typeNiko Matsakis-6/+26
2012-05-29rustc: Move filesearch into metadata modBrian Anderson-2/+177
It's not that related to metadata, but metadata needs it and it will probably be useful for doing dynamic loading.
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-05-25Get rid of many implicit copies as a preliminary to Issue #2448.Michael Sullivan-3/+3
2012-05-24Teach parser and related things to understand const kind bounds.Eric Holk-0/+2
2012-05-23rustc: Eliminate metadata's dependency on util::commonBrian Anderson-1/+0
2012-05-23rustc: Move new_def_hash to ast_utilBrian Anderson-0/+1
2012-05-22rustc: Eliminate metadata's dependency on sessionBrian Anderson-46/+59
2012-05-22rustc: Eliminate some session deps from metadata::loaderBrian Anderson-43/+66
2012-05-22rustc: Don't fall back to static libraries when shared isn't foundBrian Anderson-7/+2
Nothing on Earth depends on this functionality and it is probably unexpected
2012-05-21rustc: Move ast_map to the syntax crateBrian Anderson-3/+4
2012-05-19rustc: Remove dead code in encoderBrian Anderson-3/+1
2012-05-17Refactoring, annotating FIXMEs in remainder of metadata codeTim Chevalier-46/+40
2012-05-17Refactor encoder::encode_module_item_pathsTim Chevalier-62/+57
to eliminate some repeated code.
2012-05-17Annotate or fix FIXMEs in LLVM bindings and metadata codeTim Chevalier-8/+7
Fixed up a few FIXMEs in lib/llvm to use more descriptive data types. Covered FIXMEs in metadata::{creader, csearch, decoder} and one in encoder.
2012-05-16rustc: Sever the link between metadata and resolveBrian Anderson-3/+8
2012-05-16rustc: Break another dependency between metadata and resolveBrian Anderson-33/+27
2012-05-16rustc: Break a dependency between metadata and resolveBrian Anderson-16/+10
2012-05-16pull out id visitor into ast_util from astencodeNiko Matsakis-0/+940
2012-05-15rustc: Extract loader mod from creader modBrian Anderson-199/+219
loader is a utility for locating crates and loading their metadata. creader is a compiler pass that loads metadata for all used libraries.
2012-05-15Generate drop glue correctly for classes with destructorsTim Chevalier-2/+29
2012-05-14rustc: Break some of metadata's dependencies on sessionBrian Anderson-14/+23
2012-05-14rustc: Break metadata's dependency on linkBrian Anderson-2/+6
2012-05-14rustc: Eliminate metadata's dependency on astencodeBrian Anderson-11/+21
2012-05-14rustc: Eliminate encoder's dependency on astencodeBrian Anderson-12/+20
2012-05-14rustc: Move astencode from metadata to middleBrian Anderson-1093/+2
2012-05-14First cut at dtors for classesTim Chevalier-3/+13
Classes with dtors should compile now. Haven't yet tested whether they actually run correctly. Beginnings of support for #2295, though that won't be done until there's more test cases and resources are removed.
2012-05-13rustc: Eliminate a simple dependency from metadata modBrian Anderson-1/+1
2012-05-13rustc: Eliminate some indirection to the syntax crateBrian Anderson-1/+1
2012-05-13rustc: Eliminate metadata's dependency on transBrian Anderson-50/+77
2012-05-10Removed all 4 uses of `do ... while` in the codebase.Paul Stansifer-6/+9
2012-05-09implement new borrow ck (disabled by default)Niko Matsakis-4/+6
2012-05-09reduce self type to a special type parameterNiko Matsakis-9/+9