aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Have the pretty-printer take a writer stream as argumentMarijn Haverbeke2011-03-096-119/+61
| | | | | | | | | | | | | | | | | | | | It now uses a string writer to also fill in for middle.ty.ast_ty_to_str
* | | | Add stdout_writer and string_writer to std.ioMarijn Haverbeke2011-03-091-23/+48
| | | | | | | | | | | | | | | | | | | | For use by pretty-printer. string_writer API is a bit silly right now, feel free to suggest a cleaner way to do this.
* | | | 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-092-33/+50
| | | |
* | | | Rename confusing usage of "lltag" to "lldiscrim" in trans_pat_match()Patrick Walton2011-03-091-3/+3
| | | |
* | | | rustc: Make test/run-pass/generic-tag-alt.rs valid Rust; it was passing a ↵Patrick Walton2011-03-091-1/+1
| | | | | | | | | | | | | | | | dynamically-sized value by value instead of by alias
* | | | rustc: Have demand_pat() extract type parameters from tags. Add a test case.Patrick Walton2011-03-092-8/+30
| | | |
* | | | rustc: Substitute type parameters in type_of_variant(). Add a test case.Patrick Walton2011-03-092-5/+18
| | | |
* | | | 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-092-1/+9
| | | | | | | | | | | | | | | | variants. Add a test case for this.
* | | | Pass the task pointer as just another i32.Rafael Ávila de Espíndola2011-03-091-2/+3
| | | |
* | | | Fix access to the rust stack.Rafael Ávila de Espíndola2011-03-091-15/+32
| | | |
* | | | swap taskptr and callee in preparation for making taskptr optional.Rafael Ávila de Espíndola2011-03-092-11/+13
| | | |
* | | | 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-082-2/+7
| | | | | | | | | | | | | | | | rec-extend.rs.
* | | | Un-XFAIL obj-return-polytypes.rsGraydon Hoare2011-03-081-1/+0
| | | |
* | | | 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-082-25/+81
| | | | | | | | | | | | | | | | trying to deduce them itself. Un-XFAIL generic-fn-twice.rs.
* | | | Remove GC overspend; running out of memory on some tinderboxes.Graydon Hoare2011-03-081-5/+0
| | | |
* | | | Fix generic-bind support for bound aliases and generics.Graydon Hoare2011-03-084-11/+35
| | | |
* | | | rustc: Move type parameter resolution from translation into the typecheckerPatrick Walton2011-03-082-3/+76
| | | |
* | | | rustc: Re-XFAIL rec-extend.rs. The typechecker never assigned the path expr ↵Patrick Walton2011-03-081-0/+1
| | | | | | | | | | | | | | | | a type.
* | | | Revert "Move the glue asm code to a .o file. This reduces how much asm we print"Graydon Hoare2011-03-084-67/+6
| | | | | | | | | | | | | | | | 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-084-6/+67
| | | | | | | | | | | | | | | | 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-084-81/+122
| | | | | | | | | | | | | | | | 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: Expose common.def_eq().Patrick Walton2011-03-081-5/+5
| | | |
* | | | 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
* | | | Add partial pretty-printing for syntax extensionsBrian Anderson2011-03-071-1/+10
| | | |
* | | | Remove old pretty-printer from rustcBrian Anderson2011-03-072-88/+0
| | | |
* | | | Add missing alt arm to expr_if pretty-printerBrian Anderson2011-03-071-0/+1
| | | |
* | | | Most of the way through genericizing bind properly with new malloc path. ↵Graydon Hoare2011-03-072-40/+56
| | | | | | | | | | | | | | | | Still getting the thunk call wrong.
* | | | rustc: Cast dynamically-sized tags in iter_structural_ty_full() to opaque ↵Patrick Walton2011-03-072-5/+16
| |_|/ |/| | | | | | | | tag types. Un-XFAIL generic-recursive-tag.rs.
* | | rustc: Cast the LLVM representations of tag types when constructing boxes. ↵Patrick Walton2011-03-072-1/+9
| | | | | | | | | | | | Un-XFAIL list.rs.
* | | rustc: Truncate or zero-extend indexes appropriately. Un-XFAIL ↵Patrick Walton2011-03-072-3/+15
| | | | | | | | | | | | integral-indexing.rs.
* | | Parse opacity (and drop on the floor), so std.rc parses now.Graydon Hoare2011-03-072-0/+21
| | |
* | | Modernize test/run-pass/generic-recursive-tag.rs. Un-XFAIL it in rustboot.Patrick Walton2011-03-072-4/+4
| | |
* | | Un-XFAIL 5 more tests that pass lately.Graydon Hoare2011-03-071-5/+0
| | |
* | | rustc: Un-XFAIL box-unbox.rsPatrick Walton2011-03-071-1/+0
| | |
* | | Poison ty_param values in trans; fix buggy parametric obj and box malloc ↵Graydon Hoare2011-03-072-17/+23
| | | | | | | | | | | | paths. Add generic-box test.
* | | Add a pretty-printerMarijn Haverbeke2011-03-079-25/+1013
| | | | | | | | | | | | | | | 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
| | |