summary refs log tree commit diff
path: root/src/rustc/middle/ast_map.rs
AgeCommit message (Collapse)AuthorLines
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-6/+6
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-1/+1
Closes #2048
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-1/+1
Oops. We can't do this yet until the next snapshot.
2012-03-23Rename builtin back to intrinsicMarijn Haverbeke-1/+1
As per Graydon's request Issue #1981
2012-03-23Implement built-in native modules as an alternative to intrinsicsMarijn Haverbeke-0/+4
Issue #1981
2012-03-20Class methods WIPTim Chevalier-1/+12
In particular, use the ast::method type to represent a class method, and try to reuse as much iface code as possible. (This makes sense now since I'll be allowing polymorphic class methods.)
2012-03-16Classes WIPTim Chevalier-3/+3
Cross-crate metadata for classes works well enough that programs with classes in other crates compile successfully, but output wrong results. Checking in work so far to avoid merge hassles. (Tests are xfailed.)
2012-03-15rustc: Fix the AST map to actually map blocks. Also improve region error ↵Patrick Walton-1/+2
messages involving blocks.
2012-03-15rustc: Index blocksPatrick Walton-0/+6
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-1/+1
Instead of using the new_ prefix just name them after their type
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-08Rename last_total to last_unsafeTim Chevalier-1/+3
See Issue 1943 for any discussion (reopen it if necessary). Closes #1943
2012-03-08Explicitly store self_ids use for self locals in methodsMarijn Haverbeke-0/+2
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-18/+29
This solves a problem with inlined functions that have inner functions.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-1/+2
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-2/+1
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-1/+2
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-06Track all exports in exp_mapMarijn Haverbeke-4/+28
This is needed because the reachability checker needs to be able to follow exports. Issue #1934
2012-03-05give user control of whether we use inline hint or inline alwaysNiko Matsakis-6/+27
supply inline hints for resource ctors/dtors
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+152