aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into recursive-elseifBrian Anderson2011-03-075-1483/+3920
|\ | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs
| * rustc: Cast the LLVM representations of tag types when constructing boxes. ↵Patrick Walton2011-03-071-0/+9
| | | | | | | | Un-XFAIL list.rs.
| * rustc: Truncate or zero-extend indexes appropriately. Un-XFAIL ↵Patrick Walton2011-03-071-2/+15
| | | | | | | | integral-indexing.rs.
| * Poison ty_param values in trans; fix buggy parametric obj and box malloc ↵Graydon Hoare2011-03-071-17/+15
| | | | | | | | paths. Add generic-box test.
| * Add a pretty-printerMarijn Haverbeke2011-03-071-0/+2
| | | | | | | | | | Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.
| * Construct the wrappers to native functions. Hello world now works :-)Rafael Ávila de Espíndola2011-03-072-6/+41
| |
| * Permit view items in native modules.Graydon Hoare2011-03-072-4/+19
| |
| * Set the cleanup on the post-growth vector, not the temporary one.Graydon Hoare2011-03-071-2/+3
| |
| * Fix off-by-one in vector append code.Graydon Hoare2011-03-061-3/+1
| |
| * Further work on vec-append. Almost working.Graydon Hoare2011-03-061-45/+135
| |
| * Remove typestate workaroundsBrian Anderson2011-03-063-41/+27
| |
| * Fix return value on trans_vec_add.Graydon Hoare2011-03-061-1/+2
| |
| * Correct signatures and arguments associated with call into vec_append_glue.Graydon Hoare2011-03-061-17/+22
| |
| * Make ret and fail stmts have 0 out-edges, Closes #250.Graydon Hoare2011-03-052-3/+3
| |
| * rustc: Use copy_ty() when initializing N-ary tag variants. Un-XFAIL ↵Patrick Walton2011-03-041-5/+18
| | | | | | | | generic-tag.rs.
| * rustc: Don't recurse forever if type glue needs to refer to its own type ↵Patrick Walton2011-03-041-16/+45
| | | | | | | | descriptor
| * rustc: Remove "translating variants" debug stringPatrick Walton2011-03-041-1/+0
| |
| * rustc: Don't use recursive types for tags; remove tag_info; introduce GEP_tag()Patrick Walton2011-03-041-108/+154
| |
| * Build empty wrappers. This lets us compile hello world, but so far itRafael Ávila de Espíndola2011-03-041-0/+5
| | | | | | | | just returns 0.
| * Remove unused argument.Rafael Ávila de Espíndola2011-03-041-7/+6
| |
| * Assortment of additional work on vec-append. Not done yet.Graydon Hoare2011-03-032-24/+71
| |
| * rustc: Make tag discriminants per-tag-ID, not per-tag-ID-and-subtypesPatrick Walton2011-03-031-14/+6
| |
| * Factor out and generalize sequence pointer walking, for use in vec-grow.Graydon Hoare2011-03-031-30/+80
| |
| * Revert "rustc: Add support for folding over tag types" as it's unnecessary. ↵Patrick Walton2011-03-033-15/+1
| | | | | | | | Oops.
| * rustc: Add support for folding over tag typesPatrick Walton2011-03-033-1/+15
| |
| * rustc: Remove dead code that used to generate tag constants from ↵Patrick Walton2011-03-031-6/+0
| | | | | | | | trans_constant()
| * rustc: Teach trans_tag_variant() about generic tagsPatrick Walton2011-03-031-11/+35
| |
| * rustc: Disallow calling type_of() on dynamically-sized typesPatrick Walton2011-03-031-0/+10
| |
| * rustc: Don't call type_of() in GEP_tup_like() if there are any type ↵Patrick Walton2011-03-031-6/+6
| | | | | | | | parameters in the result
| * Handle native types in calls.Rafael Ávila de Espíndola2011-03-032-2/+13
| |
| * rustc: Make populate_fn_ctxt_from_llself() generic-awarePatrick Walton2011-03-031-38/+54
| |
| * rustc: Use llsize_of rather than size_of in trans_malloc_without_cleanup(). ↵Patrick Walton2011-03-021-2/+2
| | | | | | | | Should put out burning tinderbox...
| * rustc: Have make_generic_glue pass an opaque type instead of an incorrect ↵Patrick Walton2011-03-021-1/+3
| | | | | | | | type in the case of dynamically sized types
| * rustc: Remove unused call to type_of() in trans_tup()Patrick Walton2011-03-021-1/+0
| |
| * rustc: Rework the API for trans_malloc() to be generic-aware and so that ↵Patrick Walton2011-03-021-12/+19
| | | | | | | | clients don't need to call trans_malloc_inner()
| * Sketch out some more pieces of vec-append.Graydon Hoare2011-03-022-13/+129
| |
| * rustc: Teach iter_structural_ty about dynamically-sized tuples and recordsPatrick Walton2011-03-021-4/+8
| |
| * rustc: For derived tydescs, explicitly store 0 for size and align when the ↵Patrick Walton2011-03-021-3/+15
| | | | | | | | type in question has a dynamic size
| * rustc: Don't have type_of_arg() rely on the particular lie told by type_of()Patrick Walton2011-03-021-3/+14
| |
| * Make the expanded expression in expr_ext not optionalBrian Anderson2011-03-023-9/+7
| |
| * Parse parameter types for fmt extensionBrian Anderson2011-03-021-4/+0
| |
| * Add fold, typecheck and trans for expr_extBrian Anderson2011-03-024-0/+47
| |
| * Parse (and ignore) dtors on objs.Graydon Hoare2011-03-011-5/+14
| |
| * rustc: Remove the static "size" field from the tag infoPatrick Walton2011-03-011-13/+3
| |
| * rustc: Add in the size of the discriminant to generic_size_of() for tagsPatrick Walton2011-03-011-1/+3
| |
| * rustc: Add logic for generic tags to dynamic_size_of().Patrick Walton2011-03-011-3/+32
| |
| * rustc: Factor out the align-elements logic in dynamic_size_of()Patrick Walton2011-03-011-34/+29
| |
| * Implement structured compare for rec, tup, tag. Un-XFAIL structured-compare.rs.Graydon Hoare2011-03-011-21/+55
| |
| * rustc: Switch from storing nullary tags as constants to storing their ↵Patrick Walton2011-03-011-22/+31
| | | | | | | | discriminants
| * rustc: Mark tags that have subtypes with dynamic size as dynamicPatrick Walton2011-02-281-0/+7
| |