| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-09-13 | Make for loop alias-safe | Marijn Haverbeke | -52/+36 | |
| 2011-09-13 | Apply implicit copying for unsafe references to alt patterns | Marijn Haverbeke | -54/+125 | |
| 2011-09-12 | Kill trailing whitespace. | Graydon Hoare | -2/+2 | |
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -703/+239 | |
| 2011-09-12 | Merge branch 'unwind' | Brian Anderson | -28/+144 | |
| Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs | ||||
| 2011-09-12 | Undo some pretty-printer damage in ty.rs | Marijn Haverbeke | -134/+26 | |
| 2011-09-12 | Rename alias to reference in docs and error messages | Marijn Haverbeke | -8/+9 | |
| Update docs to reflect new approach to aliases | ||||
| 2011-09-12 | Warn when inserting an implicit copy that may be expensive | Marijn Haverbeke | -16/+53 | |
| 2011-09-12 | Properly implement copy expressions | Marijn Haverbeke | -19/+30 | |
| (And use them in some places that were doing {expr} before.) | ||||
| 2011-09-12 | Remove backwards-compatibility with old arg-mode syntax | Marijn Haverbeke | -3/+0 | |
| 2011-09-12 | Pretty-print for new arg-mode syntax | Marijn Haverbeke | -175/+237 | |
| 2011-09-12 | Switch pretty-printer to new arg-mode syntax | Marijn Haverbeke | -2/+2 | |
| 2011-09-12 | Accept {|| ... } for argument-less block syntax | Marijn Haverbeke | -4/+8 | |
| Closes #880 | ||||
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -2677/+2688 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-12 | Make the names of the arg mode tag reflect their (revised) meaning | Marijn Haverbeke | -91/+54 | |
| 2011-09-12 | Pass all arguments by reference, make immut alias mode equiv to value | Marijn Haverbeke | -158/+188 | |
| Arguments that can't be safely referenced will be implicitly copied. (Warnings for expensive copies will be forthcoming.) This will allow us to get rid of most of the ampersands in function signatures. See [1]. [1] https://mail.mozilla.org/pipermail/rust-dev/2011-September/000759.html | ||||
| 2011-09-11 | Zero locals when the initializer might call a function | Brian Anderson | -0/+1 | |
| The function might fail, leaving the local uninitialized Issue #236 | ||||
| 2011-09-11 | Invoke put functions | Brian Anderson | -1/+1 | |
| Issue #236 | ||||
| 2011-09-11 | Add some FIXMEs about unwinding implementation | Brian Anderson | -0/+5 | |
| Issue #236 | ||||
| 2011-09-11 | Invoke upcall_fail | Brian Anderson | -4/+15 | |
| This allows landing pads to be generated around fail statements Issue #236 | ||||
| 2011-09-11 | Run cleanups during unwinding | Brian Anderson | -0/+12 | |
| Issue #236 | ||||
| 2011-09-11 | Zero locals that have initializers that might fail | Brian Anderson | -24/+27 | |
| This will avoid running cleanups on uninitialized memory Issue #236 | ||||
| 2011-09-11 | Add landing pads to invokes | Brian Anderson | -4/+28 | |
| Issue #236 | ||||
| 2011-09-11 | Add Rust definitions for new LLVM EH instructions | Brian Anderson | -0/+25 | |
| Issue #236 | ||||
| 2011-09-11 | Use invoke to call (most) rust functions | Brian Anderson | -1/+32 | |
| No landing pads yet. Issue #236 | ||||
| 2011-09-11 | Add upcall_rust_personality | Brian Anderson | -2/+5 | |
| This just wraps __gxx_personality_v0 with our upcall naming convention Issue #236 | ||||
| 2011-09-10 | Fuzzer: move tys around in addition to exprs | Jesse Ruderman | -0/+1 | |
| 2011-09-09 | Add missing arm, so pretty-printing the statement 'copy 1;' does not die. | Jesse Ruderman | -0/+1 | |
| 2011-09-09 | Make the pretty printer disambiguatae blocks followed by vec expressions. | Jesse Ruderman | -2/+4 | |
| Semicolons are needed here now that postfix [] is used for vec indexing (the syntax change made in rev 518dc52f85c2efb67aaa1208c02e9a7e0bdaca49). | ||||
| 2011-09-09 | Revert "Make for loops alias the vec elements, rather than copy them" | Marijn Haverbeke | -6/+12 | |
| This reverts commit 985ef59efd971f1d6b9bf4b5e484b75733e00444. | ||||
| 2011-09-09 | Get rid of vp2i in object field access | Marijn Haverbeke | -18/+3 | |
| Closes #557 | ||||
| 2011-09-09 | Make for loops alias the vec elements, rather than copy them | Marijn Haverbeke | -12/+6 | |
| The alias analysis was already assuming that it worked like this. | ||||
| 2011-09-09 | Get rid of trans::iter_sequence, use tvec::iter_vec instead | Marijn Haverbeke | -97/+15 | |
| 2011-09-09 | Use a Phi node in trans_vec::iter_vec_raw | Marijn Haverbeke | -21/+11 | |
| Rather than incrementing a spilled pointer | ||||
| 2011-09-09 | Get rid of some unused upcalls | Marijn Haverbeke | -13/+2 | |
| I guess these became obsolete when the communication stuff moved into the stdlib. | ||||
| 2011-09-09 | Don't put 0-length array in the lltype of an arg-less variant | Marijn Haverbeke | -1/+5 | |
| This seems to confuse LLVM in some very specific situations. Closes #883 | ||||
| 2011-09-09 | Fix scope issue in resolution of alt-arm patterns | Marijn Haverbeke | -5/+5 | |
| Closes #885 | ||||
| 2011-09-08 | rustc: When revoking a cleanup of a unique pointer, zero it out so that the ↵ | Patrick Walton | -15/+25 | |
| GC won't try to visit it | ||||
| 2011-09-08 | rustc: Make unique pointers no longer immediates. | Patrick Walton | -70/+88 | |
| 2011-09-07 | Export tag discriminants even for single-variant tags | Brian Anderson | -4/+2 | |
| I don't know exactly what's going on but this optimization is giving me problems with the check-fast runner. I also don't see how it is correct for external tags. | ||||
| 2011-09-07 | Work around destructuring bug | Marijn Haverbeke | -13/+21 | |
| 2011-09-07 | Make it possible to take the value of (and bind) native fns | Marijn Haverbeke | -33/+28 | |
| Closes #820 | ||||
| 2011-09-06 | Forbid blocks from deinitializing upvars | Tim Chevalier | -2/+22 | |
| Move expressions where the RHS is an upvar are now forbidden within block expressions. | ||||
| 2011-09-02 | Rename istr-stuff to str in rustc. Issue #855 | Brian Anderson | -11/+11 | |
| 2011-09-02 | Rename ty_istr to ty_str. Issue #855 | Brian Anderson | -35/+35 | |
| 2011-09-02 | Print the type of istrs as 'str' in error messages. Issue #855 | Brian Anderson | -1/+1 | |
| 2011-09-02 | Stop parsing transitional istr forms. Issue #855 | Brian Anderson | -24/+1 | |
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -3861/+3478 | |
| 2011-09-02 | Add a constraint to trans::type_of | Tim Chevalier | -116/+231 | |
| trans::type_of now has a constraint saying that its type argument is statically sized. This eliminates the "impossible happened" case in type_of. Yay! I note that this change decreased translation time for stage2/rustc from 16.1 s to 14.0 s. I also think many of the remaining checks could be eliminated with some mildly clever use of constrained types and further preconditions. Future work! | ||||
| 2011-09-02 | Handle if-check with no else correctly in typestate | Tim Chevalier | -4/+17 | |
| Propagate the if-check constraint into the consequent even when there's no else branch. (Oops!) | ||||
