| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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/+16 | |
| Issue #236 | ||||
| 2011-09-11 | Use invoke to call (most) rust functions | Brian Anderson | -1/+32 | |
| No landing pads yet. Issue #236 | ||||
| 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 | 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 | -10/+10 | |
| 2011-09-02 | Rename ty_istr to ty_str. Issue #855 | Brian Anderson | -28/+28 | |
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -2053/+1928 | |
| 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!) | ||||
| 2011-09-02 | rustc: Zero out unique pointers after we drop them | Patrick Walton | -1/+7 | |
| 2011-09-02 | Eliminate const_refcount. Issue #855 | Brian Anderson | -18/+6 | |
| 2011-09-02 | rustc: Root values spilled via do_spill() | Patrick Walton | -42/+76 | |
| 2011-09-02 | rustc: Make the shape-emitting code aware of linearized type parameters | Patrick Walton | -16/+44 | |
| 2011-09-02 | Rename ivecs to vecs in the compiler | Marijn Haverbeke | -100/+71 | |
| 2011-09-02 | Remove remaining evec support from trans | Marijn Haverbeke | -131/+8 | |
| 2011-09-01 | Remove lots of estr code from rustc. Issue #855 | Brian Anderson | -103/+17 | |
| 2011-09-01 | Convert all uses of #ifmt to #fmt. Issue #855 | Brian Anderson | -36/+36 | |
| 2011-09-01 | Add a constraint in trans | Tim Chevalier | -9/+31 | |
| Experimenting with adding typestate constraints in the compiler. Added a constraint to GEP_tag that says the variant index is in bounds. Added necessary checks. | ||||
| 2011-09-01 | Rename std::istr to std::str. Issue #855 | Brian Anderson | -188/+188 | |
| 2011-09-01 | Make GEP_tag take a uint instead of an int | Tim Chevalier | -9/+9 | |
| Seems to make more sense and avoids the need for some casts. | ||||
| 2011-09-01 | Remove std::str. Issue #855 | Brian Anderson | -12/+1 | |
| 2011-09-01 | No, not all fn constraints have the same args as the fn does, in the same ↵ | Tim Chevalier | -4/+18 | |
| order... derp! Closes #862 | ||||
| 2011-09-01 | Remove misleading outdated comment in alias.rs | Marijn Haverbeke | -5/+1 | |
| 2011-09-01 | Back out copy-glue | Marijn Haverbeke | -85/+2 | |
| This wasn't a good idea after all. | ||||
| 2011-09-01 | Allow istrs as patterns. Issue #855 | Brian Anderson | -5/+9 | |
| 2011-09-01 | Remove various istr conversions. Issue #855 | Brian Anderson | -9/+9 | |
| 2011-09-01 | Make alias analysis properly recognize closures in call position | Marijn Haverbeke | -1/+1 | |
| I figured this'd break a few things, but in fact it causes no problems whatsoever. | ||||
| 2011-09-01 | Make resolve recognize upvars | Marijn Haverbeke | -244/+206 | |
| Upvars are now marked with def_upvar throughout, not just when going through freevars::lookup_def. This makes things less error-prone. One thing to watch out for is that def_upvar is used in `for each` bodies too, when they refer to a local outside the body. | ||||
| 2011-09-01 | Move mutability checking into its own pass. | Marijn Haverbeke | -278/+277 | |
| Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code. | ||||
| 2011-09-01 | Store arg mode and objfield mutability in their def | Marijn Haverbeke | -39/+39 | |
| 2011-09-01 | Clean up handling of restriction contexts in alias analysis | Marijn Haverbeke | -93/+94 | |
| 2011-08-31 | rt: Make the dynamic stack self-describing | Patrick Walton | -5/+12 | |
| 2011-08-31 | Remove a few more usages of std::str from rustc. Issue #855 | Brian Anderson | -2/+0 | |
| 2011-08-31 | Don't check arguments types if there are an incorrect number of args. Closes ↵ | Michael Sullivan | -5/+3 | |
| #871. | ||||
| 2011-08-31 | Check all paths return properly in blocks. Closes #874. | Michael Sullivan | -1/+1 | |
