aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Update the current id when we create sub parsers.Rafael Ávila de Espíndola2011-03-103-7/+17
| | | |
* | | | Fix seemingly un-noticed thinko in structural copying code in rustboot.Graydon Hoare2011-03-101-1/+1
| | | |
* | | | Add failing test for tag-leaking case.Graydon Hoare2011-03-102-0/+10
| | | |
* | | | 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-102-4/+3
| | | | | | | | | | | | | | | | while-prelude-drop.rs.
* | | | Fix eval typo (caught by Martin Hock).Graydon Hoare2011-03-101-1/+1
| | | |
* | | | Implement deep structural comparison through boxes and sequences.Graydon Hoare2011-03-095-68/+167
| | | |
* | | | Un-XFAIL a couple export-related tests.Graydon Hoare2011-03-091-2/+0
| | | |
* | | | rustc: Have tag patterns use the type parameter information from the ↵Patrick Walton2011-03-093-11/+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
| | | |
* | | | Remove redundant imports in lib (rustc doesn't like 'std' as a synonym for ↵Graydon Hoare2011-03-0911-29/+2
| | | | | | | | | | | | | | | | root within std.rc anyway)
* | | | Add ty_obj case to pretty printerMarijn Haverbeke2011-03-091-16/+37
| | | |
* | | | 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
| | | |