aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle
Commit message (Collapse)AuthorAgeFilesLines
...
* | | rustc: Add some stub metadata to each cratePatrick Walton2011-03-112-0/+32
| | |
* | | reindex the block index.Rafael Ávila de Espíndola2011-03-111-3/+5
| | |
* | | rustc: Load structural loop variables in iterators. Un-XFAIL ↵Patrick Walton2011-03-111-1/+10
| | | | | | | | | | | | foreach-put-structured.rs.
* | | Add support for indexing tags in blocks.Rafael Ávila de Espíndola2011-03-111-8/+36
| | |
* | | rustc: Populate the upvar environment when calling iterator bodies. Un-XFAIL ↵Patrick Walton2011-03-111-5/+71
| | | | | | | | | | | | test/run-pass/iter-range.rs.
* | | rustc: Resolve upvars as necessaryPatrick Walton2011-03-111-2/+9
| | |
* | | Handle resolving to native modules.Rafael Ávila de Espíndola2011-03-101-0/+7
| | |
* | | Move the glue code to a .o file. This reduces how much asm we printGraydon Hoare2011-03-101-58/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | in each "translation unit". Part of it is not repetitive and should probably be moved to a .ll file, but for now we autogen all of it. (Modified somewhat by graydon while integrating).
* | | rustc: Build up a list of upvars inside foreach bodiesPatrick Walton2011-03-101-5/+73
| | |
* | | rustc: Use the generic info from the item in bind thunks just as calls do. ↵Patrick Walton2011-03-101-0/+2
| | | | | | | | | | | | Un-XFAIL drop-parametric-closure-with-bound-box.rs.
* | | rustc: Increment the counter in trans_bind_thunk()Patrick Walton2011-03-101-1/+1
| | |
* | | 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-092-68/+145
| | |
* | | rustc: Have tag patterns use the type parameter information from the ↵Patrick Walton2011-03-092-10/+49
| | | | | | | | | | | | typechecker instead of trying to deduce it in trans. Un-XFAIL test/run-pass/generic-tag-values.rs.
* | | Fold exports.Graydon Hoare2011-03-091-0/+13
| | |
* | | Have the pretty-printer take a writer stream as argumentMarijn Haverbeke2011-03-091-80/+1
| | | | | | | | | | | | | | | It now uses a string writer to also fill in for middle.ty.ast_ty_to_str
* | | 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: Have demand_pat() extract type parameters from tags. Add a test case.Patrick Walton2011-03-091-8/+19
| | |
* | | 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: Instantiate tag patterns with the type parameters supplied by the ↵Patrick Walton2011-03-091-6/+6
| | | | | | | | | | | | programmer. size-and-align.rs typechecks now.
* | | rustc: Factor the type parameter and type lookup out of instantiate_path(), ↵Patrick Walton2011-03-091-28/+32
| | | | | | | | | | | | as patterns need different logic
* | | rustc: Grammar police work in check_pat() error messagesPatrick Walton2011-03-091-4/+5
| | |
* | | rustc: Factor out path type instantiation so that tag patterns can use it as ↵Patrick Walton2011-03-081-103/+108
| | | | | | | | | | | | well
* | | rustc: Fold over the paths in tag patterns so that we can resolve type ↵Patrick Walton2011-03-081-1/+4
| | | | | | | | | | | | variables in them
* | | rustc: Typecheck the base part of record extension expressions. Un-XFAIL ↵Patrick Walton2011-03-081-1/+7
| | | | | | | | | | | | rec-extend.rs.
* | | rustc: Make ann_to_type() fail if the node has no type. Miraculously, no ↵Patrick Walton2011-03-081-2/+2
| | | | | | | | | | | | test cases fail.
* | | 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-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.