about summary refs log tree commit diff
path: root/src/rustc/metadata
AgeCommit message (Collapse)AuthorLines
2012-03-09rustc: Add region def ids to the ASTPatrick Walton-1/+24
2012-03-09Revert "rustc: Create def IDs for region parameters"Patrick Walton-888/+835
This reverts commit 0d4cb759494f9589ba57c4f2c41f5a5737ab74e0.
2012-03-09rustc: Create def IDs for region parametersPatrick Walton-835/+888
2012-03-08rustc: Change the address-of operator to an explicit production so that we ↵Patrick Walton-37/+60
can parse the mutability
2012-03-08Rename last to last_opt, last_unsafe to lastTim Chevalier-1/+1
As per discussion on IRC. I am about to file an RFC for further discussion about the more general issue of whether to enforce invariants through types, typestate, or dynamic checks, but for now, removing the misleading name "last_unsafe".
2012-03-08rustc: Add regions to the type systemPatrick Walton-0/+18
2012-03-08Properly serialize is_last_use valuesMarijn Haverbeke-3/+119
They were all normalized to the same thing by the serializer.
2012-03-08Explicitly store self_ids use for self locals in methodsMarijn Haverbeke-9/+20
This makes it possible to move them between crates without confusion, and to instantiate them at a point where the monomorphizing substitutions are known. Issue #1944
2012-03-08Drop collect_items pass, create decls on demandMarijn Haverbeke-14/+17
This solves a problem with inlined functions that have inner functions.
2012-03-08rustc: Add the safe address-of operator to the ASTPatrick Walton-0/+8
2012-03-08rustc: Add region-annoted type parameters to the AST; stub associated patternsPatrick Walton-832/+919
2012-03-07Fix #1941: inlining of items that themselves contain nested itemsNiko Matsakis-1/+62
The fix is to drop nested items from the encoded AST. Nested items may themselves be inlined, but that is an independent question.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-4/+10
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-10/+4
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-4/+10
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-06Add a reachability checker, only export metadata for reachable itemsMarijn Haverbeke-7/+145
Closes #1934
2012-03-06Track all exports in exp_mapMarijn Haverbeke-3/+8
This is needed because the reachability checker needs to be able to follow exports. Issue #1934
2012-03-05rustc: Lower case error messagesBrian Anderson-2/+2
2012-03-05rewrite vec to be more unsafe, more inlinedNiko Matsakis-0/+3
2012-03-05give user control of whether we use inline hint or inline alwaysNiko Matsakis-2/+10
supply inline hints for resource ctors/dtors
2012-03-05set LLVM inline hint for all #[inline] methods, whether CC or localNiko Matsakis-6/+2
2012-03-04Translate simple classesTim Chevalier-127/+181
Programs using classes with fields only (no methods) compile and run, as long as nothing refers to a class in a different crate (todo). Also changed the AST representation of classes to have a separate record for constructor info (instead of inlining the fields in the item_class node), and fixed up spans and pretty-printing for classes.
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+12548