summary refs log tree commit diff
path: root/src/rustc/metadata/tydecode.rs
AgeCommit message (Collapse)AuthorLines
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-2/+2
2012-07-03rustc: Speed up def ID parsing in the metadataPatrick Walton-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-3/+3
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-14/+14
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-1/+1
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-12/+12
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-30/+30
2012-06-24Remove resourcesTim Chevalier-8/+0
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-20Remove bind. Issue #2189Brian Anderson-1/+1
2012-06-13Box AST identsBrian Anderson-3/+3
2012-06-12Introduce an unboxed_vec typeMichael Sullivan-0/+1
2012-06-08WIP on issue #1425: mostly infrastructure changes.Lindsey Kuper-1/+1
2012-05-30integrate purity into typeNiko Matsakis-5/+15
2012-05-24Teach parser and related things to understand const kind bounds.Eric Holk-0/+1
2012-05-17Refactoring, annotating FIXMEs in remainder of metadata codeTim Chevalier-24/+18
2012-05-14rustc: Break some of metadata's dependencies on sessionBrian Anderson-2/+0
2012-05-10Removed all 4 uses of `do ... while` in the codebase.Paul Stansifer-6/+9
2012-05-09reduce self type to a special type parameterNiko Matsakis-5/+6
2012-05-02Encode the ifaces a class implements in metadataTim Chevalier-6/+4
This lets you use class A as if it had type B if A implements B, and A and B are in different crates from your own. Closes #2285
2012-04-25lots of work to make iface/impls parameterized by regionsNiko Matsakis-11/+10
- paths can now take region parameters, replacing the dirty hack I was doing before of abusing vstores. vstores are now a bit of a hack though. - fix various small bugs: - we never checked that iface types were compatible when casting to an iface with `as` - we allowed nonsense like int<int> - and more! (actually that may be it)
2012-04-23encode the borrowing table, add a simple cross-crate borrowing testNiko Matsakis-0/+5
2012-04-23Simplify representation of ast::pathMarijn Haverbeke-2/+2
2012-04-20Implement tydecode::parse_vstore.Graydon Hoare-1/+14
2012-04-19make nominal types optionally parameterized by a self region.Niko Matsakis-16/+68
Issue #2201.
2012-04-11Add enough tyencode stuff to stop faulting when we hit error messages.Graydon Hoare-0/+15
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-11/+6
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-04wip: refactor repr of regionsNiko Matsakis-1/+3
- we now distinguish bound/free parameters (see region-param test case for why this is necessary) - we also track bounds on region variables - also, restructure fold_ty() to have multiple variants without duplication instead of one overloaded folder. This also allows for using block functions.
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-3/+3
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-24/+24
2012-03-16Classes WIPTim Chevalier-3/+24
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-16Remove shared tydescsMarijn Haverbeke-1/+0
All tydescs are static now, there's no need to worry about marshalling them between threads anymore.
2012-03-10Use loop instead of while(true) in libraries and compiler itselfTim Chevalier-12/+9
And remove spurious fails/unreachable() calls.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
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-1/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+1
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-02Move src/comp to src/rustcGraydon Hoare-0/+426