summary refs log tree commit diff
path: root/src/rustc/driver/driver.rs
AgeCommit message (Collapse)AuthorLines
2012-03-27rust: Remove extensions' dependency on the sessionBrian Anderson-1/+2
2012-03-27Support an alternate for syntax that calls a higher-order functionMarijn Haverbeke-1/+1
The last argument of the call must be a block, and the type of this argument must a function returning bool. `break` and `cont` are supported in the body of the block, and return `false` or `true` from the function. When the end of the function is reached, `true` is implicitly returned. for vec::all([1, 2, 3]) {|elt| if elt == 2 { break; } log(error, elt); } Issue #1619
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-5/+5
2012-03-26Disallow ret inside of block functionsMarijn Haverbeke-0/+2
Also adds proper checking for cont/break being inside a loop. Closes #1854 Issue #1619
2012-03-23Keep an explicit map of things that have to be spilledMarijn Haverbeke-2/+3
This prevents us from spilling locals more than once. Closes #2040
2012-03-22Add an LLVM-instruction-counting mode to trans.Graydon Hoare-0/+3
Pipe to xdu to see a trans call graph of generated insns.
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-3/+1
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-8/+8
2012-03-21Avoid mangling names differently in debug builds to work around a build ↵Josh Matthews-7/+6
error. Fix up file name and path debug information, and build one compilation unit for a crate instead of one per source file.
2012-03-15Rename dict to vtable throughout the compilerMarijn Haverbeke-2/+2
The difference went away.
2012-03-15Turn on monomorphization by defaultMarijn Haverbeke-3/+0
2012-03-14Add crude support for casts in constant expressionsMarijn Haverbeke-1/+2
Only casts to integral and float types are supported Closes #1975
2012-03-13first (functional) version of the auto_serialize syntax extNiko Matsakis-4/+9
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-14/+13
- 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-11rustc: Map local variables to their containing blocks so we know their regionsPatrick Walton-1/+1
2012-03-09rustc: Add a region checking passPatrick Walton-0/+2
Errors aren't reported yet, because the regions aren't properly inferred from the & operator at the moment and that would break the tests.
2012-03-09rustc: Perform region inferencePatrick Walton-1/+4
2012-03-08Drop collect_items pass, create decls on demandMarijn Haverbeke-1/+1
This solves a problem with inlined functions that have inner functions.
2012-03-06make inline enabled by defaultNiko Matsakis-3/+0
2012-03-06Make trans pass responsible for pulling in inlined functionsMarijn Haverbeke-7/+2
This makes the logic for finding the inlinable items much easier -- they are simply pulled in lazily when encountered.
2012-03-05rustc: Use consistent casing for names of timed passesBrian Anderson-1/+1
2012-03-05rustc: Lower case error messagesBrian Anderson-3/+3
2012-03-02comp/fuzzer: rewrite to use io::with_str_reader.Erick Tryzelaar-2/+4
2012-03-02comp/std: rename io::string_reader to io::str_reader.Erick Tryzelaar-1/+1
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+667