| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change the numbering of upcall functions. upcall_0 now calls a function | Rafael Ávila de Espíndola | 2011-03-15 | 1 | -4/+3 |
| | | | | | | with no arguments. This is still preparation for calling functions that don't take a rust task argument. | ||||
| * | Merge remote branch 'brson/recursive-elseif' | Graydon Hoare | 2011-03-14 | 4 | -92/+35 |
| |\ | |||||
| | * | Merge branch 'master' into recursive-elseif | Brian Anderson | 2011-03-13 | 6 | -553/+1220 |
| | |\ | | | | | | | | | | | | | | | | Conflicts: src/comp/middle/typeck.rs | ||||
| | * | | Remove extra blocks from the translation of expr_block | Brian Anderson | 2011-03-13 | 1 | -20/+2 |
| | | | | | | | | | | | | | Doesn't seem to break anything and allows trans_if to be streamlined | ||||
| | * | | Merge branch 'master' into recursive-elseif | Brian Anderson | 2011-03-07 | 5 | -1483/+3920 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs | ||||
| | * | | | Allow the else part of an expr_if to be either expr_if or expr_block | Brian Anderson | 2011-02-01 | 3 | -19/+45 |
| | | | | | |||||
| * | | | | Rename check_assignment_like to check_assignment since it turned out not to ↵ | Brian Anderson | 2011-03-14 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | be useful for send/recv | ||||
| * | | | | Fix the typechecking for expr_send and expr_recv | Brian Anderson | 2011-03-14 | 1 | -8/+38 |
| | | | | | |||||
| * | | | | Add ty_port and ty_chan to expr_ty function | Brian Anderson | 2011-03-14 | 1 | -11/+13 |
| | | | | | |||||
| * | | | | Typecheck expr_send and expr_recv | Brian Anderson | 2011-03-14 | 1 | -0/+16 |
| | | | | | |||||
| * | | | | Reorganize evaluation of expr_send/recv to put them closer to expr_assign, ↵ | Brian Anderson | 2011-03-14 | 1 | -29/+30 |
| | | | | | | | | | | | | | | | | | to which they are similar | ||||
| * | | | | Factor out expression checking for forms that look like assignment | Brian Anderson | 2011-03-14 | 1 | -23/+27 |
| | | | | | |||||
| * | | | | Add folding and type checking for ports and chans | Brian Anderson | 2011-03-14 | 3 | -0/+163 |
| | | | | | |||||
| * | | | | Fold ty_chan and ty_port | Brian Anderson | 2011-03-14 | 1 | -0/+21 |
| | | | | | |||||
| * | | | | Split trans' collection in two passes. This allows us to handle tags | Rafael Ávila de Espíndola | 2011-03-14 | 1 | -16/+32 |
| | |_|/ |/| | | | | | | | | | | | | | | that are defined after use in a block. This is really inefficient, but for now it lets us compile the included test. | ||||
| * | | | Preserve crate directives in the parsed crate. | Graydon Hoare | 2011-03-11 | 1 | -4/+10 |
| | | | | |||||
| * | | | rustc: Add some stub metadata to each crate | Patrick Walton | 2011-03-11 | 2 | -0/+32 |
| | | | | |||||
| * | | | reindex the block index. | Rafael Ávila de Espíndola | 2011-03-11 | 1 | -3/+5 |
| | | | | |||||
| * | | | rustc: Load structural loop variables in iterators. Un-XFAIL ↵ | Patrick Walton | 2011-03-11 | 1 | -1/+10 |
| | | | | | | | | | | | | | foreach-put-structured.rs. | ||||
| * | | | Add support for indexing tags in blocks. | Rafael Ávila de Espíndola | 2011-03-11 | 1 | -8/+36 |
| | | | | |||||
| * | | | rustc: Populate the upvar environment when calling iterator bodies. Un-XFAIL ↵ | Patrick Walton | 2011-03-11 | 1 | -5/+71 |
| | | | | | | | | | | | | | test/run-pass/iter-range.rs. | ||||
| * | | | rustc: Resolve upvars as necessary | Patrick Walton | 2011-03-11 | 1 | -2/+9 |
| | | | | |||||
| * | | | Handle resolving to native modules. | Rafael Ávila de Espíndola | 2011-03-10 | 1 | -0/+7 |
| | | | | |||||
| * | | | Move the glue code to a .o file. This reduces how much asm we print | Graydon Hoare | 2011-03-10 | 1 | -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 bodies | Patrick Walton | 2011-03-10 | 1 | -5/+73 |
| | | | | |||||
| * | | | rustc: Use the generic info from the item in bind thunks just as calls do. ↵ | Patrick Walton | 2011-03-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | Un-XFAIL drop-parametric-closure-with-bound-box.rs. | ||||
| * | | | rustc: Increment the counter in trans_bind_thunk() | Patrick Walton | 2011-03-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | rustc: Fix off-by-one error and logic error regarding type parameters in the ↵ | Patrick Walton | 2011-03-10 | 1 | -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 Walton | 2011-03-10 | 1 | -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 Walton | 2011-03-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | while-prelude-drop.rs. | ||||
| * | | | Implement deep structural comparison through boxes and sequences. | Graydon Hoare | 2011-03-09 | 2 | -68/+145 |
| | | | | |||||
| * | | | rustc: Have tag patterns use the type parameter information from the ↵ | Patrick Walton | 2011-03-09 | 2 | -10/+49 |
| | | | | | | | | | | | | | typechecker instead of trying to deduce it in trans. Un-XFAIL test/run-pass/generic-tag-values.rs. | ||||
| * | | | Fold exports. | Graydon Hoare | 2011-03-09 | 1 | -0/+13 |
| | | | | |||||
| * | | | Have the pretty-printer take a writer stream as argument | Marijn Haverbeke | 2011-03-09 | 1 | -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 Walton | 2011-03-09 | 1 | -1/+9 |
| | | | | |||||
| * | | | rustc Remove dead "llunit_ty" assignment in trans_index | Patrick Walton | 2011-03-09 | 1 | -1/+0 |
| | | | | |||||
| * | | | rustc: Make tag pattern translation generic-aware. Un-XFAIL generic-tag-alt.rs. | Patrick Walton | 2011-03-09 | 1 | -32/+50 |
| | | | | |||||
| * | | | Rename confusing usage of "lltag" to "lldiscrim" in trans_pat_match() | Patrick Walton | 2011-03-09 | 1 | -3/+3 |
| | | | | |||||
| * | | | rustc: Have demand_pat() extract type parameters from tags. Add a test case. | Patrick Walton | 2011-03-09 | 1 | -8/+19 |
| | | | | |||||
| * | | | rustc: Substitute type parameters in type_of_variant(). Add a test case. | Patrick Walton | 2011-03-09 | 1 | -5/+10 |
| | | | | |||||
| * | | | rustc: Remove redundant ty_params_of_tag() function | Patrick Walton | 2011-03-09 | 1 | -13/+1 |
| | | | | |||||
| * | | | rustc: Perform type parameter substitutions in static_size_of_tag() | Patrick Walton | 2011-03-09 | 1 | -0/+18 |
| | | | | |||||
| * | | | rustc: Don't try to load dynamically-sized types when translating tag ↵ | Patrick Walton | 2011-03-09 | 1 | -1/+2 |
| | | | | | | | | | | | | | variants. Add a test case for this. | ||||
| * | | | Pass the task pointer as just another i32. | Rafael Ávila de Espíndola | 2011-03-09 | 1 | -2/+3 |
| | | | | |||||
| * | | | swap taskptr and callee in preparation for making taskptr optional. | Rafael Ávila de Espíndola | 2011-03-09 | 1 | -3/+3 |
| | | | | |||||
| * | | | rustc: Instantiate tag patterns with the type parameters supplied by the ↵ | Patrick Walton | 2011-03-09 | 1 | -6/+6 |
| | | | | | | | | | | | | | programmer. size-and-align.rs typechecks now. | ||||
| * | | | rustc: Factor the type parameter and type lookup out of instantiate_path(), ↵ | Patrick Walton | 2011-03-09 | 1 | -28/+32 |
| | | | | | | | | | | | | | as patterns need different logic | ||||
| * | | | rustc: Grammar police work in check_pat() error messages | Patrick Walton | 2011-03-09 | 1 | -4/+5 |
| | | | | |||||
| * | | | rustc: Factor out path type instantiation so that tag patterns can use it as ↵ | Patrick Walton | 2011-03-08 | 1 | -103/+108 |
| | | | | | | | | | | | | | well | ||||
| * | | | rustc: Fold over the paths in tag patterns so that we can resolve type ↵ | Patrick Walton | 2011-03-08 | 1 | -1/+4 |
| | | | | | | | | | | | | | variables in them | ||||