about summary refs log tree commit diff
path: root/src/comp/metadata/decoder.rs
AgeCommit message (Collapse)AuthorLines
2011-07-08Remove non-existant export from metadata::decoderBrian Anderson-1/+0
2011-07-08Replace the crate cache in session with the one in cstoreBrian Anderson-5/+10
2011-07-07Refactor a few things in the metadata moduleBrian Anderson-4/+3
Rename metadata::tags to metadata::common. Move some utility functions from metadata::encoder to metadata::common.
2011-07-07Rename hash_def_id to hash_node_idBrian Anderson-1/+1
2011-07-06rustc: Make meta items into interior vectorsPatrick Walton-6/+7
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-6/+6
2011-07-06rustc: Migrate tag variants to interior vectorsPatrick Walton-5/+5
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-11/+11
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-6/+6
2011-07-06rustc: Migrate tag variants to interior vectorsPatrick Walton-5/+5
2011-07-05Change ast::meta_name_value to accept any literal, not just stringBrian Anderson-1/+3
This isn't useful for much of anything yet, since metadata::encoder doesn't know how to handle the non-string variants. Issue #611
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-2/+2
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.
2011-07-01Cleanup attribute code. Issue #487Brian Anderson-6/+4
2011-06-30Kill unused variablesTim Chevalier-1/+0
2011-06-30Make calling resource destructors work cross-crateMarijn Haverbeke-3/+8
Tydescs are currently re-created for each compilation unit (and I guess for structural types, they have to be, though the duplication still bothers me). This means a destructor can not be inlined in the drop glue for a resource type, since other crates don't have access to the destructor body. Destructors are now compiled as separate functions with an external symbol that can be looked up in the crate (under the resource type's def_id), and called from the drop glue.
2011-06-28Remove the last traces of the distinction between export / local meta itemsBrian Anderson-5/+0
Issue #487
2011-06-28Rework how linkage attributes are determinedBrian Anderson-21/+2
The meta items within a crate's link attribute are used in linkage: #[link(name = "std", vers = "1.0", custom = "whatever")]; Name and vers are treated specially, and everything else is hashed together into the crate meta hash. Issue #487
2011-06-28Add some helper functions for attributes. Issue #487Brian Anderson-0/+4
2011-06-28Write metadata for more meta_item types. Issue #487Brian Anderson-16/+32
2011-06-28Write metadata for crate attributes. Issue #487Brian Anderson-4/+33
2011-06-28List crate attributes when running rustc with '--ls'Brian Anderson-2/+58
2011-06-27Rename metadata::defs to metadata::tagsBrian Anderson-1/+1
2011-06-27Cleanup in metadata moduleBrian Anderson-0/+2
2011-06-27Extract metadata::decoder from metadata::creaderBrian Anderson-0/+281