about summary refs log tree commit diff
path: root/src/rustc/back
AgeCommit message (Collapse)AuthorLines
2012-05-30rt: Add upcall_exchange_malloc/freeBrian Anderson-0/+7
2012-05-29rustc: Move filesearch into metadata modBrian Anderson-2/+2
It's not that related to metadata, but metadata needs it and it will probably be useful for doing dynamic loading.
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-05-24remove dead assignmentsNiko Matsakis-4/+3
2012-05-22rustc: Eliminate some session deps from metadata::loaderBrian Anderson-12/+6
2012-05-21rustc: Move ast_map to the syntax crateBrian Anderson-1/+1
2012-05-18add a new debugging aid--tracingNiko Matsakis-0/+4
2012-05-18use -Z to distinguish internal debugging optionsNiko Matsakis-5/+5
2012-05-17Annotate or fix FIXMEs in LLVM bindings and metadata codeTim Chevalier-11/+11
Fixed up a few FIXMEs in lib/llvm to use more descriptive data types. Covered FIXMEs in metadata::{creader, csearch, decoder} and one in encoder.
2012-05-17Comments only: annotate FIXMEs in back-end and driverTim Chevalier-1/+3
2012-05-14rustc: Break metadata's dependency on linkBrian Anderson-6/+4
2012-05-14Instantiate per-type iface-based visit_glue when intrinsic ifaces present.Graydon Hoare-1/+1
2012-05-03Turn constants in back::abi into uints, and propagate typesTim Chevalier-45/+44
This means GEPi now takes a list of uints. Apologies in advance if this is hard to rebase against, but it gets rid of many a cast :-) Also modernized some for loops here and there.
2012-05-01Fix symbol mangling in the presence of trailing version numbers.Graydon Hoare-0/+8
2012-04-25Be a bit more cautious about marking things no-throw.Graydon Hoare-20/+26
2012-04-25Set no-unwind attribute on all upcalls other than fail.Graydon Hoare-1/+5
2012-04-16Get explicit unique estrs working.Graydon Hoare-3/+9
2012-04-16rustc: -L also indicates the location of native librariesBrian Anderson-0/+16
-L currently specifies paths to search for Rust crates Building crates that use native libraries is difficult. When the library is located somewhere unexpected there is no way to tell rustc additional paths to look in. If libclang is located at `.` then rustc is not going to know that and linking will fail. To get around that I often end up inserting #[link_args = "-L."] native mod m { } into other crates to get them to build. Now you just `rustc -L .` and it builds. This doesn't do any rpathing so it's still up to somebody else to put the library somewhere it will be found or use LD_LIBRARY_PATH This feature comes with a single, XFAILed test, because I could not think of a way to test it. Odd.
2012-04-13rustc: Don't hardcode -lmBrian Anderson-3/+0
It does not appear to serve a purpose
2012-04-07rustc: Hash the CMH into symbol namesBrian Anderson-2/+1
2012-04-07rustc: Append the crate version to symbolsBrian Anderson-4/+2
2012-04-07Revert "Mangle exported names using node IDs rather than types"Brian Anderson-5/+6
This reverts commit c83d61de936f2910001fe72de01ac58479d90524.
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-11/+11
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-05Mangle exported names using node IDs rather than typesTim Chevalier-6/+5
Use node IDs rather than types to ensure exported names are unique. duplicate symbol. Closes #2074.
2012-04-02Construct new strings through upcalls.Graydon Hoare-0/+3
2012-03-29rustc: Remove the rustsyntax::attr wrapper in frontBrian Anderson-1/+1
2012-03-29rustc: Remove the session dependency from front::attrBrian Anderson-1/+1
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-6/+0
Closes #2048
2012-03-23Stop trying to link intrinsics.bcMarijn Haverbeke-64/+0
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-0/+70
Oops. We can't do this yet until the next snapshot.
2012-03-23Remove support for the old-style intrinsicsMarijn Haverbeke-70/+0
Closes #2042 Closes #1981
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-19/+19
2012-03-20Work on fixing name mangling.Graydon Hoare-1/+30
2012-03-20Remove object file directly rather than running "rm". Close #1778 also.Graydon Hoare-1/+4
2012-03-19core: Move unsafe conversions to str::unsafeBrian Anderson-1/+1
2012-03-19Send string concatenation to specialized upcall, shave 17s off librustc ↵Graydon Hoare-0/+4
compile time.
2012-03-16Remove shared tydescsMarijn Haverbeke-7/+0
All tydescs are static now, there's no need to worry about marshalling them between threads anymore.
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-15Remove dynastack code from compilerMarijn Haverbeke-10/+0
2012-03-15Rename dict to vtable throughout the compilerMarijn Haverbeke-4/+1
The difference went away.
2012-03-14Convert *u8 native string users to *c_charBrian Anderson-16/+16
2012-03-14core: Rename str::from_cstr et. al to from_bufBrian Anderson-1/+1
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-14rustc: Lift the @ from the type definition of crate_ctxt into its usesPatrick Walton-6/+6
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-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-44/+42
- 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-10core: Remove the nearly empty math moduleBrian Anderson-1/+1
This mod only had two functions, all of whose users have been changed to use the uint module.
2012-03-08Change util::unreachable to core::unreachableTim Chevalier-1/+1
Closes #1931
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+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/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+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.