about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-03-15Stop generating generic versions of generic functionsMarijn Haverbeke-62/+61
Monomorphic instances are generated on demand.
2012-03-15Disallow calling generic methods through a boxed ifaceMarijn Haverbeke-0/+4
2012-03-15Fix assumption that monomorphized method's impls are crate-localMarijn Haverbeke-15/+39
2012-03-15Fix monomorphization of resource constructorsMarijn Haverbeke-4/+21
2012-03-15Turn on monomorphization by defaultMarijn Haverbeke-6/+1
2012-03-15Write out the AST for all externally-reachable genericsMarijn Haverbeke-2/+3
2012-03-14Convert *u8 native string users to *c_charBrian Anderson-212/+218
2012-03-14core: Rename str::from_cstr et. al to from_bufBrian Anderson-2/+2
2012-03-14core:: Eliminate str::sbuf. Replace with *u8Brian Anderson-129/+127
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-96/+95
Instead of using the new_ prefix just name them after their type
2012-03-14rustc: Universally quantify regions when looking up typeclass implementationsPatrick Walton-1/+17
2012-03-14fixup auto_serialize's treatment of nullary variantsNiko Matsakis-3/+10
2012-03-14allow immut vars to be moved. enforce mut vars after stage0 in std.Niko Matsakis-5/+12
2012-03-14rustc: Lift the @ from the type definition of crate_ctxt into its usesPatrick Walton-145/+146
This will make it easier to convert crate_ctxt into a region pointer, since there are functions that return crate contexts. There would be no way to type these functions if crate_ctxt had to be an inferred region pointer.
2012-03-14rustc: Fix a couple of bugs that prevented taking addresses of rvaluesPatrick Walton-7/+8
2012-03-14rustc: Make region dereference no longer require an unsafe blockPatrick Walton-7/+1
2012-03-14rustc: Autoderef through region pointersPatrick Walton-2/+6
2012-03-14rustc: Reword field/method-not-found error message to mention the ↵Patrick Walton-1/+1
possibility that a field wasn't found
2012-03-14rustc: Determine the region of pointer dereference expressionsPatrick Walton-6/+16
2012-03-14fix auto_serialize for enums with type parametersNiko Matsakis-34/+186
2012-03-14rustc: Make the self region work properly in enumsPatrick Walton-41/+91
2012-03-14rustc: Record the parent blocks of localsPatrick Walton-1/+12
2012-03-14Add crude support for casts in constant expressionsMarijn Haverbeke-73/+129
Only casts to integral and float types are supported Closes #1975
2012-03-14Properly walk pat_lit and pat_range in visit.rsMarijn Haverbeke-1/+3
Issue #1975
2012-03-14adjust auto_serialize to generate fns named serialize_T()Niko Matsakis-85/+70
We used to generate a module T with a serialize() and deserialize() fn, but this was suboptimal for a number of reasons: - it required moving serialization into core so that uint etc worked - it was harder to override the serialization behavior locally (this is now trivial)
2012-03-13rewrite unify in a modal style, extend result moduleNiko Matsakis-262/+289
2012-03-13implement deserialization, rename mk_mem_buffer() to mem_buffer()Niko Matsakis-150/+385
2012-03-13first (functional) version of the auto_serialize syntax extNiko Matsakis-124/+193
2012-03-13fixup serialize_variantNiko Matsakis-0/+564
2012-03-13get new decorator extensions workingNiko Matsakis-0/+53
2012-03-13rustc: Allow the addresses of rvalues to be takenPatrick Walton-4/+21
2012-03-13rustc: Instantiate "caller" regions when calling functionsPatrick Walton-12/+64
2012-03-13rustc: Don't make the while loop body's basic block a child of the conditionBrian Anderson-4/+6
As a child of the condition, when the body encounters a ret or break it incorrectly re-runs the cleanups of the condition.
2012-03-13rustc: Infer regions of variant arguments to the caller regionPatrick Walton-2/+6
2012-03-13rustc: Get reference typedefs workingPatrick Walton-15/+62
2012-03-13Name types after their modules instead of 't'Brian Anderson-34/+34
2012-03-13rustc: Thread the use site around in ast_ty_to_tyPatrick Walton-135/+152
2012-03-13rustc: Don't cache ast_ty_to_ty results for types that have referencesPatrick Walton-7/+21
2012-03-13rustc: Use only ast_ty_to_ty for region inferencePatrick Walton-27/+4
2012-03-13rustc: Use the inferred region as the self region in ast_ty_to_ty as wellPatrick Walton-2/+4
2012-03-13rustc: Look up inferred regions in ast_ty_to_tyPatrick Walton-1/+6
2012-03-13Overhaul constructor naming in libsBrian Anderson-81/+82
2012-03-13rustc: Fix long linePatrick Walton-1/+1
2012-03-13rustc: Record what `&` would resolve to for every AST typePatrick Walton-23/+24
2012-03-13Use type size/alignment of target, rather than host, in debuginfoMarijn Haverbeke-70/+24
2012-03-13rustc: Teach trans::alt.rs about exhaustive altsMarijn Haverbeke-72/+82
Closes #1971
2012-03-13Fix Issue #1926 by sorting the gather list.Kevin Atkinson-1/+6
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-269/+251
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-12rustc: Word a comment more clearly in region.rsPatrick Walton-4/+1
2012-03-12rustc: Use linked lists instead of hash tables for region binding scopesPatrick Walton-6/+16
Hash tables are overkill.