| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-09-23 | Start on a piecemeal conversion to DPS | Marijn Haverbeke | -126/+177 | |
| Issue #667 Wires in a basic framework for destination-passing style, with backwards-compatibility to the old approach, so that expression types can be moved over to it one at a time (by moving them from trans_expr to trans_expr_dps). | ||||
| 2011-09-23 | Don't return unused values from zero_alloca and trans_stmt | Marijn Haverbeke | -12/+12 | |
| 2011-09-23 | Fix bug where the type of a function's top-level block wasn't fixed up | Marijn Haverbeke | -1/+1 | |
| 2011-09-23 | More steps to arch-specific target libs (#474) | Graydon Hoare | -1/+1 | |
| 2011-09-23 | Properly check types of do-while condition expr | Marijn Haverbeke | -1/+2 | |
| Closes #956 | ||||
| 2011-09-23 | Make sure no dynamic allocas are used before they are allocated | Marijn Haverbeke | -36/+29 | |
| Closes #965 | ||||
| 2011-09-23 | Use a slightly nicer hack to get zero-length strings in trans_build | Marijn Haverbeke | -176/+97 | |
| Wrapping calls in str::by_ref(, ...) heap-allocated an empty string every time (and looked really bad). | ||||
| 2011-09-23 | Better handling of unreachable code in trans | Marijn Haverbeke | -256/+306 | |
| The builder functions in trans_build now look at an 'unreachable' flag in the block context and don't generate code (returning undefined placeholder values) when this flag is set. Threading the unreachable flag through context still requires some care, but this seems a more sane approach than re-checking for terminated blocks throughout the compiler. When creating a block, if you use its closest dominator as parent, the flag will be automatically passed through. If you can't do that, because the dominator is a scope block that you're trying to get out of, you'll have to do something like this to explicitly pass on the flag: if bcx.unreachable { Unreachable(next_cx); } Closes #949. Closes #946. Closes #942. Closes #895. Closes #894. Closes #892. Closes #957. Closes #958. | ||||
| 2011-09-23 | Remove backward-compatible support for 'mutable' before type. | Marijn Haverbeke | -8/+0 | |
| Closes #966 | ||||
| 2011-09-22 | Remove is_stateful flag from tydesc. Closes #136 | Brian Anderson | -2/+2 | |
| 2011-09-22 | Fix ty_uniq case in maybe_auto_unbox | Brian Anderson | -0/+1 | |
| Closes #961 Issue #409 | ||||
| 2011-09-22 | Add take glue for unique boxes | Brian Anderson | -1/+18 | |
| Closes #962 Issue #409 | ||||
| 2011-09-22 | Remove nonsensical load and store from trans_uniq::copy_val | Brian Anderson | -2/+1 | |
| Issue #409 | ||||
| 2011-09-22 | Allow vectors to contain unique boxes. Closes #952 | Brian Anderson | -1/+1 | |
| Issue #409 | ||||
| 2011-09-22 | rustc: Write raw type parameters instead of linearized type parameters in ↵ | Patrick Walton | -36/+61 | |
| object body shapes | ||||
| 2011-09-22 | Autoderef indexes and fields of unique boxes | Brian Anderson | -3/+15 | |
| Issue #409 | ||||
| 2011-09-22 | Calculate the correct kind for unique boxes | Brian Anderson | -5/+1 | |
| Issue #409 | ||||
| 2011-09-22 | Drop the previous value when copying one unique box local to another | Brian Anderson | -2/+1 | |
| Issue #409 | ||||
| 2011-09-22 | Add assignment to unique box locals | Brian Anderson | -0/+4 | |
| Issue #409 | ||||
| 2011-09-22 | Initialize unique box locals from other locals | Brian Anderson | -6/+20 | |
| Issue #409 | ||||
| 2011-09-22 | Convert trans_uniq asserts to preconditions | Brian Anderson | -11/+20 | |
| Issue #409 | ||||
| 2011-09-22 | Sprinkle some asserts through trans_uniq | Brian Anderson | -0/+14 | |
| 2011-09-22 | Move uniq trans code to trans_uniq module | Brian Anderson | -54/+77 | |
| Issue #409 | ||||
| 2011-09-22 | Factor alloc_uniq from trans_uniq | Brian Anderson | -6/+21 | |
| Issue #409 | ||||
| 2011-09-22 | Don't unify unique boxes with different mutability | Brian Anderson | -3/+2 | |
| Issue #409 | ||||
| 2011-09-22 | Add support for mutable unique boxes | Brian Anderson | -1/+1 | |
| Issue #409 | ||||
| 2011-09-22 | Convert ty::ty_uniq to contain a mutable type | Brian Anderson | -29/+45 | |
| Issue #409 | ||||
| 2011-09-22 | Call drop glue on the thing in a unique box | Brian Anderson | -5/+16 | |
| Issue #409 | ||||
| 2011-09-21 | Remove unused arg from revoke_clean | Brian Anderson | -5/+5 | |
| 2011-09-21 | Add ability to deref unique boxes. Make unique boxes immediates. | Brian Anderson | -20/+27 | |
| Issue #409 | ||||
| 2011-09-21 | Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. ↵ | Marijn Haverbeke | -1/+1 | |
| Closes #935." This reverts commit f19ab1ff3c85973a54cc98e3f98ae240e2d0d816. | ||||
| 2011-09-21 | rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935. | Patrick Walton | -1/+1 | |
| 2011-09-21 | rustc: Don't try to spill bottom types, since we can't make any assumptions ↵ | Patrick Walton | -0/+5 | |
| about the type of the ValueRef | ||||
| 2011-09-21 | Revert "Implement pattern ranges for all numeric types." | Marijn Haverbeke | -341/+25 | |
| This reverts commit ce0f054f9d56df4e60291fc2e1b89ce979cf374f. | ||||
| 2011-09-21 | Don't write to retptr when returning nil, pass undef for unused params | Marijn Haverbeke | -15/+18 | |
| 2011-09-21 | Add target_triple to session::options. Use host triple by default, accept ↵ | Graydon Hoare | -14/+32 | |
| --target on command line. | ||||
| 2011-09-21 | Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. ↵ | Marijn Haverbeke | -1/+1 | |
| Closes #935." This reverts commit e6a84f252ab7a016dd923adbf31e8c86deab1d72. | ||||
| 2011-09-21 | Implement pattern ranges for all numeric types. | Josh Matthews | -25/+341 | |
| 2011-09-20 | rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935. | Patrick Walton | -1/+1 | |
| 2011-09-20 | Represent unique creation as a unop in the AST instead of its own expr | Brian Anderson | -20/+21 | |
| Like the box unop. Issue #409 | ||||
| 2011-09-20 | Make creation of unique boxes work again | Brian Anderson | -3/+12 | |
| Issue #409 | ||||
| 2011-09-20 | Parse unique box types | Brian Anderson | -0/+11 | |
| Issue #409 | ||||
| 2011-09-20 | rustc: Pass actual tydescs to upcall_malloc | Patrick Walton | -4/+8 | |
| 2011-09-20 | rustc: Remove trans_raw_malloc, as it's only called from one place | Patrick Walton | -17/+10 | |
| 2011-09-20 | Move linker invocation from driver::rustc to back::link | Brian Anderson | -88/+94 | |
| 2011-09-20 | Zero locals that are inited via alt expressions. Closes #945 | Brian Anderson | -0/+1 | |
| 2011-09-20 | Remove some obsolete 'copy' operators from trans | Marijn Haverbeke | -12/+12 | |
| 2011-09-20 | Properly handle 'put;' in trans | Marijn Haverbeke | -1/+3 | |
| Closes #947 | ||||
| 2011-09-20 | Remove some bogus white-space from llvm.rs | Marijn Haverbeke | -50/+2 | |
| 2011-09-19 | Build tuples in two phases to avoid cleaning up partial tuples | Brian Anderson | -1/+12 | |
