aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
Commit message (Collapse)AuthorAgeFilesLines
* Fix generic-bind support for bound aliases and generics.Graydon Hoare2011-03-081-8/+24
|
* rustc: Move type parameter resolution from translation into the typecheckerPatrick Walton2011-03-082-3/+76
|
* Revert "Move the glue asm code to a .o file. This reduces how much asm we print"Graydon Hoare2011-03-081-0/+2
| | | | This reverts commit 55c80e763bfd850682b3217fcfc5cdb516eafae0.
* Move the glue asm code to a .o file. This reduces how much asm we printRafael Ávila de Espíndola2011-03-081-2/+0
| | | | in each "translation unit".
* rustc: Pass explicit type substitutions to later passesPatrick Walton2011-03-081-8/+22
|
* rustc: Add a slot for explicit type parameter instantations to the ↵Patrick Walton2011-03-083-80/+121
| | | | typechecker's AST annotation
* rustc: Rework type substitution to pair up type parameter IDs with the ↵Patrick Walton2011-03-081-43/+60
| | | | supplied type parameter instantiations explicitly
* rustc: Store type parameter definition IDs instead of type parameter counts ↵Patrick Walton2011-03-081-13/+23
| | | | in the typechecker
* rustc: Store the number of type parameters per item, which will be needed to ↵Patrick Walton2011-03-081-2/+18
| | | | get unused type params working
* Most of the way through genericizing bind properly with new malloc path. ↵Graydon Hoare2011-03-071-38/+49
| | | | Still getting the thunk call wrong.
* rustc: Cast dynamically-sized tags in iter_structural_ty_full() to opaque ↵Patrick Walton2011-03-071-4/+16
| | | | tag types. Un-XFAIL generic-recursive-tag.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
|