| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-06-15 | Handle index expressions' callee IDs correctly | Tim Chevalier | -4/+4 | |
| Some code that handles unary and binary exprs' callee IDs was forgetting to handle the index expr case (since calls to user-defined index operators also have callee IDs). This was manifesting as an ICE in trans because when monomorphizing a function that had one of these operators in it (an index into a dvec, in the test case), the callee ID would be unbound to a type. Fixed it. Closes #2631. | ||||
| 2012-06-15 | Add an intermediate level of type/region variable resolution forcing | Lindsey Kuper | -24/+49 | |
| And change structurally_resolved_type() to force resolution of non-region variables. | ||||
| 2012-06-15 | Add the interner to parse_sess. | Paul Stansifer | -25/+5 | |
| 2012-06-15 | Make type_is_pod handle more types. | Michael Sullivan | -2/+11 | |
| 2012-06-14 | Issue #2591: Fix "upvar" jargon in borrowck error messages | Patrick Walton | -3/+5 | |
| 2012-06-14 | Merge branch 'incoming' of github.com:mozilla/rust into newsnap | Eric Holk | -125/+187 | |
| 2012-06-14 | Merge branch 'incoming' into newsnap | Eric Holk | -22/+45 | |
| 2012-06-14 | Further work on integer literal suffix inference (#1425) | Lindsey Kuper | -125/+187 | |
| In this commit: * Change the lit_int_unsuffixed AST node to not carry a type, since it doesn't need one * Don't print "(unsuffixed)" when pretty-printing unsuffixed integer literals * Just print "I" instead of "(integral)" for integral type variables * Set up trans to use the information that will be gathered during typeck to construct the appropriate constants for unsuffixed int literals * Add logic for handling int_ty_sets in typeck::infer * Clean up unnecessary code in typeck::infer * Add missing mk_ functions to middle::ty * Add ty_var_integral to a few of the type utility functions it was missing from in middle::ty | ||||
| 2012-06-14 | Complete a data visitor type that does proper pointer-walking. | Graydon Hoare | -22/+45 | |
| 2012-06-14 | Merge branch 'incoming' into newsnap | Eric Holk | -76/+193 | |
| 2012-06-14 | Issue #2572: (trans) Fix self-referential classes. | Patrick Walton | -19/+48 | |
| 2012-06-14 | whitespace | Tim Chevalier | -1/+1 | |
| 2012-06-14 | Get an initial implementation of boxed vectors working. | Michael Sullivan | -40/+71 | |
| 2012-06-14 | Avoid some duplicated typechecking work | Tim Chevalier | -5/+18 | |
| There was a FIXME noting that ty::enum_variants and typeck::check:: check_enum_variants both call eval_const_expr. I tried refactoring the code so that check_enum_variants does all the work and enum_variants just looks up cached results, but this turned out not to be easy because several ty functions call enum_variants and it might get invoked on an enum before that enum item has been typechecked. Instead, I just made check_enum_variants update the enum_var_cache so that enum_variants will never call eval_const_expr twice on the same const. | ||||
| 2012-06-14 | Add zero check/fail paths on div/mod paths. Close #944. | Graydon Hoare | -11/+54 | |
| 2012-06-14 | Comments only: annotate FIXMEs in reflect | Tim Chevalier | -1/+2 | |
| 2012-06-14 | Adding move_val and move_val_init intrinsics. | Eric Holk | -1/+29 | |
| 2012-06-14 | Remove a workaround | Tim Chevalier | -2/+2 | |
| 2012-06-14 | Refactor; annotate a FIXME | Tim Chevalier | -25/+17 | |
| 2012-06-14 | Comments only: annotate FIXMEs in typeck::infer | Tim Chevalier | -1/+2 | |
| 2012-06-14 | Comments only: annotate a FIXME and remove an obsolete one | Tim Chevalier | -2/+2 | |
| 2012-06-14 | Annotate and fix FIXMEs in typeck | Tim Chevalier | -41/+40 | |
| 2012-06-14 | Dead code elimination | Tim Chevalier | -38/+4 | |
| 2012-06-13 | Make trans only generate calls to the _dyn malloc upcalls, so we can get rid ↵ | Michael Sullivan | -43/+24 | |
| of the non dyn ones. | ||||
| 2012-06-13 | Add a malloc_dyn upcall for dynamically sized allocations on the shared heap. | Michael Sullivan | -0/+4 | |
| 2012-06-13 | Allow impls to be re-exported | Tim Chevalier | -5/+9 | |
| It was a little hard for me to believe, but it seems that re-exporting an impl doesn't work at a, because encoder::encode_info_for_mod requires that all the impls in the current module's impl map be local (that is, bound to a value in the current crate's item map). Fixed it. Closes #2414. | ||||
| 2012-06-13 | Traverse types in reachability | Tim Chevalier | -1/+27 | |
| Issue 2526 showed a test case where a library exported only a type that was a synonym for a class. Because the class's destructor wasn't getting marked as reachable, its linkage was wrongly getting set to "internal". The solution is for reachability to traverse types. Closes #2526. | ||||
| 2012-06-13 | Box AST idents | Brian Anderson | -371/+380 | |
| 2012-06-13 | Some cleanup in tvec. | Michael Sullivan | -9/+6 | |
| 2012-06-12 | Handle class destructors correctly in metadata | Tim Chevalier | -24/+83 | |
| This allows destructors to be inlined, which is necessary since classes can have both ty params and destructors. | ||||
| 2012-06-12 | Simplify a bunch of trans functions to not need the rust type. Remove some ↵ | Michael Sullivan | -66/+33 | |
| PointerCasts. | ||||
| 2012-06-12 | Make vectors contain the right type descriptor. Closes #2536. | Michael Sullivan | -17/+12 | |
| 2012-06-12 | Introduce an unboxed_vec type | Michael Sullivan | -11/+34 | |
| 2012-06-12 | Introduce a SHAPE_UNBOXED_VEC shape in order to seperate out vector logic. | Michael Sullivan | -3/+9 | |
| 2012-06-12 | Correct typo in comment | Tim Chevalier | -1/+1 | |
| 2012-06-12 | Change trans::common::block to be a class | Tim Chevalier | -60/+69 | |
| And replace trans::common::block_parent with option<block>. To handle the recursive self-reference in the block_ class, I had to add a newtype-like enum "block" which is equivalent to @block_ -- which due to an interaction with borrowck, resulted in having to change a few functions in trans::base to take their block argument in ++ mode, irritatingly enough (but not that irritatingly, since we're supposed to get rid of modes). | ||||
| 2012-06-12 | Treat enums with one variant specially in borrowck: #2573 | Niko Matsakis | -33/+85 | |
| 2012-06-12 | Reorder things in hash_type_structure to make more sense. | Michael Sullivan | -10/+10 | |
| 2012-06-11 | Change llsize_real to use LLVMSizeOfTypeInBits. Add comments. | Graydon Hoare | -10/+52 | |
| 2012-06-11 | Add a new AST node for unsuffixed integer types. | Lindsey Kuper | -31/+29 | |
| 2012-06-11 | Stop emitting type parameters in shape.rs. | Michael Sullivan | -16/+9 | |
| 2012-06-11 | Clean up tydesc declaration to make it clear what is unused. | Michael Sullivan | -7/+7 | |
| 2012-06-11 | Get rid of a bunch of dead shape code. Closes #2552. | Michael Sullivan | -1/+0 | |
| 2012-06-11 | Don't treat all class fields as mutable, except in trans | Tim Chevalier | -7/+28 | |
| Closes #2550 | ||||
| 2012-06-08 | remove alias analysis and replace with borrowck | Niko Matsakis | -934/+8 | |
| This reverts commit 7ef825bb607c4e934c92bd0b73ecbc4c24f3286b. | ||||
| 2012-06-08 | avoid rooting @ptrs that live in immutable, stable memory | Niko Matsakis | -30/+50 | |
| 2012-06-08 | make ccx/tcx/sess methods on bcx pure | Niko Matsakis | -3/+3 | |
| 2012-06-08 | Update READMEs and comments to reflect "rustsyntax" -> "syntax" change | Lindsey Kuper | -7/+7 | |
| 2012-06-08 | Get rid of little-used logging fns in util::common. Closes #2553. | Lindsey Kuper | -129/+29 | |
| Also got rid of a bunch of commented-out logging statements and generally cleaned up the logging situation, mostly in typestate. | ||||
| 2012-06-08 | Pass names of fields and variants when reflecting. | Graydon Hoare | -31/+34 | |
