aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* rustc: Trivial cleanup: Remove unused "arity" tagPatrick Walton2011-02-281-1/+0
|
* More complete sketch of structural compare. Still not quite working.Graydon Hoare2011-02-281-38/+115
|
* Groundwork for structural comparison. Still lacking the actual loop that ↵Graydon Hoare2011-02-281-24/+97
| | | | does it.
* rustc: Write tag variant discriminants into the crate as integer constantsPatrick Walton2011-02-281-1/+15
|
* Declare wrappers to the native functions and use those to createRafael Ávila de Espíndola2011-02-281-4/+28
| | | | | | | the fn/closure pairs. Disable native2.rs for now as we are not yet defining the wrappers and it fails to link.
* Update the function declarations with rust abi. A cdeclRafael Ávila de Espíndola2011-02-281-1/+12
| | | | | | | | | | | | | | | | | | fn write(int fd, rustrt.vbuf buf, uint count) -> int; compiles to declare i32 @write(i32, i8*, i32) and a rust fn vec_buf[T](vec[T] v, uint offset) -> vbuf; compiles to declare i8* @vec_buf(%task*, %tydesc*, %"vec[<P0:2>]", i32) which I think is the correct declaration for both :-)
* rustc: Make the tag info table keyed by both tag ID and type parameter. Also ↵Patrick Walton2011-02-252-14/+24
| | | | fix a bug that was causing all tags to compare equal.