about summary refs log tree commit diff
path: root/src/comp/metadata/common.rs
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-112/+0
2012-02-24Encode/decode AST into metadata, re-instantiate inlined itemsNiko Matsakis-0/+24
2012-02-10put serializer into the build and encode full item pathsNiko Matsakis-0/+7
2012-02-09Remove some pointless importsMarijn Haverbeke-2/+0
2012-01-25Rename tag to enum throughout the compilerMarijn Haverbeke-1/+1
This should reduce confusion of people trying to read the code.
2012-01-19rustc: "tag" -> "enum"Patrick Walton-1/+1
2012-01-11Fix dependency bug iface-did-of-impl resolvingMarijn Haverbeke-1/+0
By simply not resolving that def id until the typeck pass. Closes #1494
2012-01-10Support explicit discriminant numbers on tag variants.Kevin Atkinson-0/+3
Addresses issue #1393. For now disallow disr. values unless all variants use nullary contractors (i.e. "enum-like"). Disr. values are now encoded in the crate metadata, but only when it will differ from the inferred value based on the order.
2012-01-05Get external interfaces / impls workingMarijn Haverbeke-1/+2
Issue #1227
2012-01-05Write the iface type of an impl in the crate dataMarijn Haverbeke-0/+1
Also, move checking of ifaces into the collect phase of typeck to give further passes some guarantees. Issue #1227
2011-12-28Change representation of type params to handle interface boundsMarijn Haverbeke-1/+1
Issue #1227
2011-12-22Unify some data structures in syntax::ast that were doing the same thingMarijn Haverbeke-2/+0
As a preparation to removing some duplication in typeck.
2011-12-16Write impl data to crate library filesMarijn Haverbeke-0/+4
(No one is actually reading it yet.) Issue #1227
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+1
2011-12-12rustc: Encode crate hash into metadataHaitao Li-0/+2
2011-10-10Adjust function signatures to allow for vecs being immediateMarijn Haverbeke-1/+1
Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-1/+1
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-2/+2
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-1/+1
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-2/+2
2011-08-27Convert portions of rustc to istrs. Recover a lot of performance.Brian Anderson-3/+3
Issue #855
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-05rustc: Parse "inline". Also write it into metadata.Patrick Walton-0/+2
2011-07-29Encode, decode, and thread through typechecking all the param kinds, not ↵Graydon Hoare-2/+2
just the counts.
2011-07-27Reformat for new syntaxMarijn Haverbeke-33/+33
2011-07-08Encode/decode a crate's externel dependencies. Issue #632Brian Anderson-0/+6
The encoding is very simple right now, just the crate name. Ultimately this won't be enough for our versioning needs, but it should fill our immediate need of being able to correlate encoded crate numbers to actual crates.
2011-07-07Refactor a few things in the metadata moduleBrian Anderson-0/+67
Rename metadata::tags to metadata::common. Move some utility functions from metadata::encoder to metadata::common.