about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-03-19rustc: Fix handling of the `self` region in method return types. Also stub ↵Patrick Walton-3/+24
some code to allow the regions of simple field access expressions to be determined.
2012-03-19rustc: Fix mutability checking when dereferencing a region-annotated pointerPatrick Walton-7/+1
2012-03-19core: Move unsafe conversions to str::unsafeBrian Anderson-2/+2
2012-03-19Send string concatenation to specialized upcall, shave 17s off librustc ↵Graydon Hoare-5/+10
compile time.
2012-03-19rustc: Stop generating the flag_none #fmt flag. Issue #1993Brian Anderson-7/+0
2012-03-19Properly check kinds when instantiating typesMarijn Haverbeke-17/+37
Closes #2011
2012-03-18core: Rename vec::position_elt to position_elemBrian Anderson-2/+3
2012-03-18rustc: Fix typo in error messageDamien Grassart-1/+1
2012-03-16Encode both private and public class fields in metadataTim Chevalier-21/+8
This is necessary to calculate the correct offsets for field references. Simple cross-crate class tests (still with fields only) now pass.
2012-03-16Fix encoding of class ctorsTim Chevalier-22/+22
Class tests still fail at runtime
2012-03-16Don't break -g in the presence of monomorphization.Josh Matthews-0/+1
2012-03-16rustc: Unify impl self types in the opposite order so variance is correctBrian Anderson-1/+1
2012-03-16Classes WIPTim Chevalier-116/+337
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-16core: Store reexporting result and either. Closes #1997Brian Anderson-1/+6
2012-03-16allow binding of fn~, make result fn@. fixes 1899.Niko Matsakis-2/+4
2012-03-16rustc: Give a better error message when references involving the caller ↵Patrick Walton-1/+13
region fail to unify
2012-03-16Check kind bounds when calling methodsMarijn Haverbeke-9/+27
Closes #1915
2012-03-16Forbid boxed ifaces with self types or generic methods in bounded paramsMarijn Haverbeke-19/+39
They are a soundness hole. Closes #1994
2012-03-16Remove shared tydescsMarijn Haverbeke-71/+17
All tydescs are static now, there's no need to worry about marshalling them between threads anymore.
2012-03-16Support binding of methods off boxed iface valuesMarijn Haverbeke-12/+29
Closes #435
2012-03-15rustc: Describe why regions failed to unify as part of the type error messagePatrick Walton-16/+26
2012-03-15rustc: Fix the AST map to actually map blocks. Also improve region error ↵Patrick Walton-10/+22
messages involving blocks.
2012-03-15rustc: Index blocksPatrick Walton-1/+8
2012-03-15Improve error message for passing mutable argument by referenceTim Chevalier-1/+1
2012-03-15rustc: Instantiate self regions in implsPatrick Walton-17/+22
2012-03-15rustc: Have the typechecker pick up the resolved self regionPatrick Walton-2/+2
2012-03-16Get rid of rust_crate_cache in the runtimeMarijn Haverbeke-7/+0
We are no longer generating dynamic tydescs or dicts. Issue #1982
2012-03-15rustc: Create self region bindings, and forbid the self region from being ↵Patrick Walton-16/+57
used in places it shouldn't be
2012-03-15kill old serialization codeNiko Matsakis-9190/+0
2012-03-15switch over to using new serialize/deserialize codeNiko Matsakis-144/+278
2012-03-15std: Follow conventions in bitvBrian Anderson-3/+3
2012-03-15Make last-use finder treat referenced function arguments properlyMarijn Haverbeke-5/+17
Closes #1964
2012-03-15Remove tests from astencode.rsMarijn Haverbeke-116/+0
They mysteriously fail on Windows, and Niko assures me this code is about be replaced anyway.
2012-03-15Fix bug in vtable builderMarijn Haverbeke-1/+8
Closes #1947 , which I completely misdiagnosed.
2012-03-15Reuse monomorphized functions more aggressivelyMarijn Haverbeke-64/+351
Adds a trans::type_use pass that, given a function body, detects how dependant that function is on properties of its type parameters.
2012-03-15Remove support for dynamically-sized types from translation codeMarijn Haverbeke-553/+148
2012-03-15Remove GEP_tup_likeMarijn Haverbeke-181/+62
2012-03-15Remove dynastack code from compilerMarijn Haverbeke-61/+2
2012-03-15Remove lltyparams field in trans::common::fn_ctxtMarijn Haverbeke-69/+18
2012-03-15Don't pass an undef retptr to generic intrinsicsMarijn Haverbeke-5/+5
It leads to segfaults
2012-03-15Properly recognize external intrinsicsMarijn Haverbeke-65/+89
2012-03-15Huge kludge to get intrinsics' type parameters passedMarijn Haverbeke-27/+53
2012-03-15Never pass tydesc to functionsMarijn Haverbeke-351/+93
My assumption that native generics needed them was wrong, so tydescs can be eliminated from function signatures completely.
2012-03-15Properly replace iface tps with impl tps in static method callsMarijn Haverbeke-10/+26
Un-xfail iface-generic.rs
2012-03-15Only write metadata for items that actually appear in the root ASTMarijn Haverbeke-34/+42
Not for imported ASTs from inlined items.
2012-03-15Make sure enum and resource constructors are inlined properlyMarijn Haverbeke-45/+70
2012-03-15Make sure resource destructors are properly monomorphizedMarijn Haverbeke-46/+73
2012-03-15Remove a large part of the tydesc-passing codeMarijn Haverbeke-307/+112
2012-03-15Rename dict to vtable throughout the compilerMarijn Haverbeke-164/+166
The difference went away.
2012-03-15Hugely simplify iface handlingMarijn Haverbeke-321/+136
With the assumption of monomorphization