about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-09-24Tweak the type allocated for unique pointersBrian Anderson-3/+1
Seems to be more correctish... Issue #409
2011-09-24Support non-immediates in unique-box type glueBrian Anderson-2/+0
Issue #409
2011-09-24Vectors containing pinned kinds become pinnedBrian Anderson-3/+3
Otherwise they could be copied
2011-09-24Unique pointers containing pinned kinds become pinnedBrian Anderson-3/+17
Issue #409
2011-09-24Add tests for swapping unique boxesBrian Anderson-0/+39
Issue #409
2011-09-23Add vec::filterJesse Ruderman-0/+7
2011-09-23Add let destructuring for unique boxesBrian Anderson-0/+4
Issue #409
2011-09-23Add missing case for pat_uniq to syntax::visitBrian Anderson-3/+0
Issue #409
2011-09-23Add two tests for sending unique boxes across channelsBrian Anderson-0/+38
Issue #409
2011-09-23Actually use unique boxes in run-fail/unwind-uniqueBrian Anderson-1/+1
2011-09-23Create a bunch of test cases for unique boxes by copying box testsBrian Anderson-0/+269
XFAIL the ones that don't work Issue #409
2011-09-23Begin to support pattern matching on unique boxesBrian Anderson-0/+10
Issue #409
2011-09-23Add more unreachable-code tests. Closes #935Jesse Ruderman-0/+6
2011-09-23xfail-win32 linked-failure and send-iloopBrian Anderson-0/+2
2011-09-23xfail-pretty unreachable-code.rsMarijn Haverbeke-0/+2
2011-09-23Better handling of unreachable code in transMarijn Haverbeke-0/+35
The builder functions in trans_build now look at an 'unreachable' flag in the block context and don't generate code (returning undefined placeholder values) when this flag is set. Threading the unreachable flag through context still requires some care, but this seems a more sane approach than re-checking for terminated blocks throughout the compiler. When creating a block, if you use its closest dominator as parent, the flag will be automatically passed through. If you can't do that, because the dominator is a scope block that you're trying to get out of, you'll have to do something like this to explicitly pass on the flag: if bcx.unreachable { Unreachable(next_cx); } Closes #949. Closes #946. Closes #942. Closes #895. Closes #894. Closes #892. Closes #957. Closes #958.
2011-09-22Remove deprecated mutable type constructor from run-pass/issue-511Brian Anderson-1/+1
This was triggering a warning that was making the pretty-print test fail
2011-09-22Add test for issue #511. Closes #511Brian Anderson-0/+10
2011-09-22Add a test for negative constants. Closes #358Brian Anderson-0/+7
2011-09-22Fix ty_uniq case in maybe_auto_unboxBrian Anderson-0/+8
Closes #961 Issue #409
2011-09-22Add take glue for unique boxesBrian Anderson-0/+11
Closes #962 Issue #409
2011-09-22Adda test for returning unique boxesBrian Anderson-0/+7
Issue #409
2011-09-22Allow vectors to contain unique boxes. Closes #952Brian Anderson-0/+3
Issue #409
2011-09-22XFAIL task-commBrian Anderson-0/+1
2011-09-22Autoderef indexes and fields of unique boxesBrian Anderson-0/+10
Issue #409
2011-09-22Add tests for moving unique boxesBrian Anderson-0/+34
Issue #409
2011-09-22Calculate the correct kind for unique boxesBrian Anderson-0/+68
Issue #409
2011-09-22Add a test for mutable references to unique boxes as function argumentsBrian Anderson-0/+9
Issue #409
2011-09-22Add a test for unique boxes as fn argsBrian Anderson-0/+9
Issue #409
2011-09-22Add a test for unique boxes containing shared boxesBrian Anderson-0/+12
Issue #409
2011-09-22Drop the previous value when copying one unique box local to anotherBrian Anderson-0/+7
Issue #409
2011-09-22Add a test that assignment of unique boxes to locals does a copyBrian Anderson-0/+10
Issue #409
2011-09-22Add assignment to unique box localsBrian Anderson-0/+5
Issue #409
2011-09-22Initialize unique box locals from other localsBrian Anderson-0/+14
Issue #409
2011-09-22Don't unify unique boxes with different mutabilityBrian Anderson-0/+4
Issue #409
2011-09-22XFAIL spawnfail and task-comm-15Brian Anderson-0/+2
2011-09-22Add support for mutable unique boxesBrian Anderson-0/+5
Issue #409
2011-09-22Call drop glue on the thing in a unique boxBrian Anderson-0/+3
Issue #409
2011-09-21Log and compare unique boxesBrian Anderson-0/+12
Issue #409
2011-09-21Add an unwind test for failure during unique box constructionBrian Anderson-0/+18
2011-09-21Add ability to deref unique boxes. Make unique boxes immediates.Brian Anderson-0/+4
Issue #409
2011-09-21Add more unwind tests for failure during construction of allocated thingsBrian Anderson-0/+36
2011-09-21Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. ↵Marijn Haverbeke-5/+0
Closes #935." This reverts commit f19ab1ff3c85973a54cc98e3f98ae240e2d0d816.
2011-09-21rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935.Patrick Walton-0/+5
2011-09-21Revert "Implement pattern ranges for all numeric types."Marijn Haverbeke-87/+0
This reverts commit ce0f054f9d56df4e60291fc2e1b89ce979cf374f.
2011-09-21Revert "rustc: Make bottom types immediates. Add a |log ret| testcase. ↵Marijn Haverbeke-5/+0
Closes #935." This reverts commit e6a84f252ab7a016dd923adbf31e8c86deab1d72.
2011-09-21Implement pattern ranges for all numeric types.Josh Matthews-0/+87
2011-09-20rustc: Make bottom types immediates. Add a |log ret| testcase. Closes #935.Patrick Walton-0/+5
2011-09-20Add another testcase for #910Jesse Ruderman-0/+11
2011-09-20Make creation of unique boxes work againBrian Anderson-0/+10
Issue #409