| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-06-05 | Don't try to keep locals off of the stack. Closes #2408. | Michael Sullivan | -31/+3 | |
| There were bugs in the code path for initialization of non-spilled locals, the code-path is hit approximately never, and mem2reg can do it for us. I think this will let us kill spill_map. | ||||
| 2012-06-05 | rustc: Fix some more cyclic imports | Patrick Walton | -11/+21 | |
| 2012-06-05 | Dereference classes with dtors only on a field access | Tim Chevalier | -14/+14 | |
| A class with a dtor has a different representation (a pair of a bit field and a pointer to the class itself), and previously, the trans code was selecting out the second field on any reference to a variable whose type was a class with a dtor. This turned out to be wrong in the case where a closure captures a variable with such a type. Changed the code to only insert the field selection on a class field access. | ||||
| 2012-06-05 | Allow classes with dtors to be used before declaration | Tim Chevalier | -17/+22 | |
| get_item_val could generate an internal compiler error if a class with a dtor was used before the class itself got translated, because it was assuming that the dtor's node ID was always in the item_symbols table. Fixed it to create a new symbol if necessary, and use it subsequently. | ||||
| 2012-06-05 | rustc: Put uniques into addrspace 1 | Brian Anderson | -4/+11 | |
| 2012-06-04 | Make "no implicit copies" diagnostics controllable through lint settings. ↵ | Michael Sullivan | -17/+27 | |
| Closes #2503. | ||||
| 2012-06-04 | Make vecs implicitly copyable for all of our projects. | Michael Sullivan | -0/+3 | |
| 2012-06-04 | Make vecs/strs not implicitly copyable by default, but make it configurable. ↵ | Michael Sullivan | -7/+30 | |
| Closes #2450. | ||||
| 2012-06-04 | Fix lint's handling of multiple warn attributes... | Michael Sullivan | -1/+1 | |
| 2012-06-04 | Machine types are different from int/uint, etc (Issue #2187) | Eric Holk | -5/+14 | |
| 2012-06-04 | handle fixed-length vecs in borrowck categorization | Niko Matsakis | -19/+36 | |
| 2012-06-04 | Get rid of warnings from instantiating typarams with non-implicitly copyable ↵ | Michael Sullivan | -0/+1 | |
| types. | ||||
| 2012-06-04 | Warn when invoking polymorphic functions with non copyable types. Closes #2466. | Michael Sullivan | -15/+45 | |
| 2012-06-04 | Heavily rework lint infrastructure. Split it into two passes: one that ↵ | Michael Sullivan | -110/+131 | |
| builds the table and one that does the checks. Build the table early and make session know about it fo reasy use. | ||||
| 2012-06-04 | better support for classes with polymorphic methods | Niko Matsakis | -59/+33 | |
| 2012-06-04 | Make how lint handles unknown warn directives configurable by lint (default ↵ | Michael Sullivan | -12/+24 | |
| to warn). Closes #2480. | ||||
| 2012-06-04 | Provide mechanisms to inspect warning settings from outside lint. | Michael Sullivan | -10/+44 | |
| 2012-06-03 | prohibit type parameters in native fns and other minor fixes | Niko Matsakis | -69/+77 | |
| trans now can safely assert that it never sees a type param | ||||
| 2012-06-02 | make vec fns/methods take imm slices. | Niko Matsakis | -2/+3 | |
| this also repairs the unsoundness in typing of unpack_slice, which was silently converting a const ptr to an imm one. | ||||
| 2012-06-02 | Add ty_var_integral (WIP on issue #1425). | Lindsey Kuper | -34/+81 | |
| 2012-06-02 | Allow rcvrs to be borrowed; check rcvrs in borrowck properly | Niko Matsakis | -86/+211 | |
| 2012-06-02 | improve borrowck to handle some frankly rather tricky cases | Niko Matsakis | -45/+147 | |
| - receivers of method calls are also borrowed - by-val arguments are also borrowed (needs tests) - assignment to components can interfere with loans | ||||
| 2012-06-01 | Check that classes are instantiable | Tim Chevalier | -0/+2 | |
| that is, check that there aren't any mutually recursive cycles between classes and other types | ||||
| 2012-06-01 | Make sure classes with dtors are still sendable (but not copyable) | Tim Chevalier | -1/+5 | |
| 2012-06-01 | Comment only: fix typo | Tim Chevalier | -1/+1 | |
| 2012-06-01 | Enforce rule that classes with dtors aren't copyable | Tim Chevalier | -3/+13 | |
| The test for this is copy-a-resource. | ||||
| 2012-06-01 | Change type_needs_drop to say that any class w/ a dtor needs a drop | Tim Chevalier | -4/+7 | |
| This was preventing dtors from running for class types that didn't have pointer fields. | ||||
| 2012-06-01 | Don't try to compute kinds of fictitious types. Indicate a bug instead. | Michael Sullivan | -7/+4 | |
| 2012-06-01 | break up borrowck into modules and begin to document how it works | Niko Matsakis | -1560/+1744 | |
| 2012-05-31 | Have lint build up a table of the warning settings on a per item basis for ↵ | Michael Sullivan | -4/+25 | |
| later use. | ||||
| 2012-05-31 | Time lint in the driver like every other pass, instead of in lint. | Michael Sullivan | -21/+9 | |
| 2012-05-31 | Make lint properly deal with nested items. Closes #2473. | Michael Sullivan | -11/+20 | |
| 2012-05-31 | Rework lint to copy lint mode maps when changing them. | Michael Sullivan | -16/+30 | |
| 2012-05-31 | Switch lint over to using a smallintmap. | Michael Sullivan | -6/+19 | |
| 2012-05-31 | Remove some dead code from kind checking. | Michael Sullivan | -5/+1 | |
| 2012-05-31 | rustc: Use fewer boxes in typestate | Brian Anderson | -12/+12 | |
| 2012-05-31 | allow mutable vectors and so forth to be used as immutable slices | Niko Matsakis | -58/+88 | |
| 2012-05-31 | Allow some resources to be considered const. | Eric Holk | -1/+4 | |
| 2012-05-31 | Rename librustsyntax to libsyntax | Kevin Cantu | -3/+3 | |
| Per issue #2418. | ||||
| 2012-05-31 | Merge remote-tracking branch 'brson/self-describing-uniques' | Brian Anderson | -122/+240 | |
| Conflicts: src/snapshots.txt | ||||
| 2012-05-30 | rustc: Do less work still in typestate | Brian Anderson | -46/+52 | |
| 2012-05-30 | rustc: Remove debug logging | Brian Anderson | -2/+0 | |
| 2012-05-30 | rt: Remove upcall_shared_malloc/free/realloc | Brian Anderson | -29/+3 | |
| 2012-05-30 | rustc: Remove the last use of upcall_shared_malloc | Brian Anderson | -2/+2 | |
| 2012-05-30 | rustc: Make trans handle self-describing strings | Brian Anderson | -3/+5 | |
| 2012-05-30 | Various changes for self-describing vecs | Brian Anderson | -48/+133 | |
| 2012-05-30 | rustc: Make unique closures use the new unique allocator | Brian Anderson | -17/+4 | |
| 2012-05-30 | rustc: Make unique boxes self-describing | Brian Anderson | -20/+66 | |
| 2012-05-30 | rustc: Add some methods for trans for mallocing uniques | Brian Anderson | -0/+26 | |
| 2012-05-30 | rt: Add upcall_exchange_malloc/free | Brian Anderson | -0/+7 | |
