aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/trans.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | | rustc: Fix off-by-one error and logic error regarding type parameters in the ↵Patrick Walton2011-03-101-1/+1
| | | | | | | | | | | | translation of bind expressions. Un-XFAIL bind-obj-ctor.rs.
* | | rustc: Perform a cast in vector initialization due to changing layers of ↵Patrick Walton2011-03-101-1/+21
| | | | | | | | | | | | indirection. Keep test/run-pass/size-and-align.rs XFAIL'd due to a leak in rustboot.
* | | rustc: Run cleanups on while expressions' condition blocks. Un-XFAIL ↵Patrick Walton2011-03-101-3/+3
| | | | | | | | | | | | while-prelude-drop.rs.
* | | Implement deep structural comparison through boxes and sequences.Graydon Hoare2011-03-091-68/+137
| | |
* | | rustc: Have tag patterns use the type parameter information from the ↵Patrick Walton2011-03-091-8/+46
| | | | | | | | | | | | typechecker instead of trying to deduce it in trans. Un-XFAIL test/run-pass/generic-tag-values.rs.
* | | rustc: Perform type substitutions for tag variants in dynamic_size_of()Patrick Walton2011-03-091-1/+9
| | |
* | | rustc Remove dead "llunit_ty" assignment in trans_indexPatrick Walton2011-03-091-1/+0
| | |
* | | rustc: Make tag pattern translation generic-aware. Un-XFAIL generic-tag-alt.rs.Patrick Walton2011-03-091-32/+50
| | |
* | | Rename confusing usage of "lltag" to "lldiscrim" in trans_pat_match()Patrick Walton2011-03-091-3/+3
| | |
* | | rustc: Substitute type parameters in type_of_variant(). Add a test case.Patrick Walton2011-03-091-5/+10
| | |
* | | rustc: Remove redundant ty_params_of_tag() functionPatrick Walton2011-03-091-13/+1
| | |
* | | rustc: Perform type parameter substitutions in static_size_of_tag()Patrick Walton2011-03-091-0/+18
| | |
* | | rustc: Don't try to load dynamically-sized types when translating tag ↵Patrick Walton2011-03-091-1/+2
| | | | | | | | | | | | variants. Add a test case for this.
* | | Pass the task pointer as just another i32.Rafael Ávila de Espíndola2011-03-091-2/+3
| | |
* | | swap taskptr and callee in preparation for making taskptr optional.Rafael Ávila de Espíndola2011-03-091-3/+3
| | |
* | | rustc: Have trans get the type parameters from the annotation instead of ↵Patrick Walton2011-03-081-24/+81
| | | | | | | | | | | | trying to deduce them itself. Un-XFAIL generic-fn-twice.rs.
* | | 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-081-2/+13
| | |
* | | 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: Add a slot for explicit type parameter instantations to the ↵Patrick Walton2011-03-081-1/+1
| | | | | | | | | | | | typechecker's AST annotation
* | | 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.
* | Construct the wrappers to native functions. Hello world now works :-)Rafael Ávila de Espíndola2011-03-071-6/+34
| |
* | 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-061-5/+5
| |
* | 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
| |
* | 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-031-24/+62
| |
* | 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-031-2/+0
| | | | | | | | Oops.
* | rustc: Add support for folding over tag typesPatrick Walton2011-03-031-0/+2
| |
* | 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-031-2/+3
| |
* | rustc: Make populate_fn_ctxt_from_llself() generic-awarePatrick Walton2011-03-031-38/+54
| |