| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2011-09-19 | Register tuple cleanups after the tuple is built | Brian Anderson | -1/+3 | |
| Issue #936 | ||||
| 2011-09-19 | Break fold's circular reference during unwinding | Brian Anderson | -9/+7 | |
| This converts the AST fold into a resource that breaks it's own circular reference (just a temporary workaround until GC), so that failure during fold will unwind correctly. Issue #936 | ||||
| 2011-09-19 | Build records in two phases to avoid cleanups on partial records | Brian Anderson | -5/+42 | |
| 2011-09-19 | Don't register record cleanups until the record is built | Brian Anderson | -1/+1 | |
| 2011-09-18 | Stop creating function pairs for static functions | Marijn Haverbeke | -86/+43 | |
| These are now called directly. When taking their value, a null pointer is added to create a pair. | ||||
| 2011-09-17 | Add a precondition to GEP_tup_like | Tim Chevalier | -4/+73 | |
| 2011-09-17 | Add a type_is_tup_like predicate that takes a block ctxt, and make some fns pure | Tim Chevalier | -15/+18 | |
| 2011-09-17 | In trans, replace another impossible case with a precondition | Tim Chevalier | -11/+8 | |
| 2011-09-16 | Make move-mode arguments unwind correctly. Closes #939 | Brian Anderson | -31/+56 | |
| 2011-09-16 | Dead code elim | Tim Chevalier | -14/+0 | |
| 2011-09-16 | Add a constraint on trans::type_of_fn_from_ty | Tim Chevalier | -23/+49 | |
| And change callers appropriately. | ||||
| 2011-09-16 | Add a returns_non_ty_var predicate | Tim Chevalier | -0/+4 | |
| which just calls non_ty_var on the return type of t, assuming t is a function type. | ||||
| 2011-09-16 | Make ty_fn_ret pure and get rid of a duplicate function | Tim Chevalier | -16/+14 | |
| 2011-09-16 | Work around an apparent compiler bug to make my patch run | Marijn Haverbeke | -5/+6 | |
| Without this, it would fail when optimization is turned on. The result of the Load(bcx, llclosure) call would end up in llenv in a corrupted form. | ||||
| 2011-09-16 | Saner approach to lvalues and callable values in trans | Marijn Haverbeke | -194/+217 | |
| LValues no longer carry information about generics and objs, instead there's an extended form of lvalue, lval_maybe_callee, only used by call and bind, which holds this info. This makes it possible to take the value of a method and get a working closure, and will (with some more work) allow us to call statically known functions without loading from their pair. Closes #435 Closes #758 | ||||
| 2011-09-16 | Add non_ty_var precondition for type_of_fn, plus minor cleanup | Tim Chevalier | -10/+17 | |
| 2011-09-16 | Revert "Saner approach to lvalues and callable values in trans" | Marijn Haverbeke | -217/+194 | |
| This reverts commit 66153436c9070386786c8a38cde199b5d3e71289. | ||||
| 2011-09-16 | Require body of else-less if expressions to be a value-less block | Marijn Haverbeke | -12/+16 | |
| For consistency with other constructs that could not possibly return a value (say, loops). | ||||
| 2011-09-16 | Saner approach to lvalues and callable values in trans | Marijn Haverbeke | -194/+217 | |
| LValues no longer carry information about generics and objs, instead there's an extended form of lvalue, lval_maybe_callee, only used by call and bind, which holds this info. This makes it possible to take the value of a method and get a working closure, and will (with some more work) allow us to call statically known functions without loading from their pair. Closes #435 Closes #758 | ||||
| 2011-09-16 | Move expr_uniq case in trans to a saner place | Marijn Haverbeke | -12/+4 | |
| Note that unique pointers are still broken in more ways than I can count. | ||||
| 2011-09-16 | Remove autoderef for calls | Marijn Haverbeke | -24/+12 | |
| We were only using it in a single place, and there for no discernable reason (probably as part of the bare-fn-vals-are-not-copyable plan). It seems more surprising than useful. | ||||
| 2011-09-16 | Remove unused method_ty field from lval_result | Marijn Haverbeke | -10/+5 | |
| 2011-09-16 | Clean up (and optimize) root-mutability analysis in alias.rs | Marijn Haverbeke | -70/+64 | |
| 2011-09-16 | Change convention for specifying referenced argument | Marijn Haverbeke | -20/+32 | |
| It is now 1-based, rather than 0 based. (Seems more natural, and allows 0 to be used to refer to self and maybe to closure.) Also allows non-referenced args to be implicitly copied again. Issue #918 | ||||
| 2011-09-15 | Actually call unreachable() in impossible case in type_of_inner | Tim Chevalier | -3/+5 | |
| 2011-09-15 | Added non_ty_var precondition to trans::type_of_inner | Tim Chevalier | -57/+109 | |
| This allows us to legitimately call unreachable() in the ty_var case. | ||||
| 2011-09-15 | Add parens, as needed, around else-if conditions. | Jesse Ruderman | -1/+1 | |
| 2011-09-15 | Added an extra check in trans_alt | Tim Chevalier | -0/+1 | |
| Gratuitous right now, but I'm going to change the type of trans::type_of | ||||
