about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2011-09-23rt: Whitespace policePatrick Walton-6/+6
2011-09-23rt: Turn off some debug codePatrick Walton-4/+6
2011-09-23rt: Get rid of the hack that looks for captured type descriptors adjacent to ↵Patrick Walton-28/+52
the root one for functions and objects
2011-09-23Add libuv upgrade instructions to src/etc/gyp-uvErick Tryzelaar-0/+13
2011-09-23Update to libuv commit 3ca382.Erick Tryzelaar-7171/+30516
This patch changes libuv's gyp build system to make it's own makefiles. To generate them for rust, run these commands. They requires python 2.x to work: $ mkdir -p src/rt/libuv/build $ svn co http://gyp.googlecode.com/svn src/rt/libuv/build/gyp $ ./etc/src/gyp_uv
2011-09-23Add let destructuring for unique boxesBrian Anderson-0/+9
Issue #409
2011-09-23Add missing case for pat_uniq to syntax::visitBrian Anderson-3/+1
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/+72
Issue #409
2011-09-23rt: Add missing <stdint.h> in rust_abi.hPatrick Walton-0/+1
2011-09-23rt: Add missing const on the Windows pathPatrick Walton-1/+1
2011-09-23rt: Get RUST_TRACK_ORIGINS working. You can now call 'debug::dump_origin' in ↵Patrick Walton-35/+51
gdb and get a backtrace saying where a box came from.
2011-09-23Add more unreachable-code tests. Closes #935Jesse Ruderman-0/+6
2011-09-23Properly mark unreachable alt bodies as unreachableMarijn Haverbeke-0/+2
2011-09-23Make AddIncomingToPhi take single values rather than arraysMarijn Haverbeke-9/+7
2011-09-23Start on a piecemeal conversion to DPSMarijn Haverbeke-126/+177
Issue #667 Wires in a basic framework for destination-passing style, with backwards-compatibility to the old approach, so that expression types can be moved over to it one at a time (by moving them from trans_expr to trans_expr_dps).
2011-09-23Don't return unused values from zero_alloca and trans_stmtMarijn Haverbeke-12/+12
2011-09-23Fix bug where the type of a function's top-level block wasn't fixed upMarijn Haverbeke-1/+1
2011-09-23rt: Factor out stack walking into rust_abi.cppPatrick Walton-31/+48
2011-09-23xfail-win32 linked-failure and send-iloopBrian Anderson-0/+2
2011-09-23Don't pipe check-fast results through teeBrian Anderson-1/+1
This was having the effect of scrubbing failure error codes. The only affect of removing this should be that the .out file isn't generated, so subsequent make invocations will re-run the tests (which is how our other tests work anyway).
2011-09-23rt: Fix message formatting issues in rust_debugPatrick Walton-3/+4
2011-09-23rt: ifdef out backtrace() on WindowsPatrick Walton-3/+15
2011-09-23rt: Fix build bustage due to gcc's format string warningsPatrick Walton-2/+2
2011-09-23rt: Add a RUST_TRACK_ORIGINS debug flag to help track down memory corruptionPatrick Walton-10/+120
2011-09-23rt: Factor out the logic that handles the various magic debug environment ↵Patrick Walton-15/+39
variables
2011-09-23rt: Remove the problematic min()/max()/align()/abs() macros from ↵Patrick Walton-12/+0
isaac/standard.h, as they're unused
2011-09-23More steps to arch-specific target libs (#474)Graydon Hoare-49/+139
2011-09-23xfail-pretty unreachable-code.rsMarijn Haverbeke-0/+2
2011-09-23Properly check types of do-while condition exprMarijn Haverbeke-1/+2
Closes #956
2011-09-23Make sure no dynamic allocas are used before they are allocatedMarijn Haverbeke-36/+29
Closes #965
2011-09-23Use a slightly nicer hack to get zero-length strings in trans_buildMarijn Haverbeke-176/+97
Wrapping calls in str::by_ref(, ...) heap-allocated an empty string every time (and looked really bad).
2011-09-23Better handling of unreachable code in transMarijn Haverbeke-256/+341
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-23Remove backward-compatible support for 'mutable' before type.Marijn Haverbeke-8/+0
Closes #966
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-22Remove is_stateful flag from tydesc. Closes #136Brian Anderson-7/+5
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/+9
Closes #961 Issue #409
2011-09-22Add take glue for unique boxesBrian Anderson-1/+29
Closes #962 Issue #409
2011-09-22Remove nonsensical load and store from trans_uniq::copy_valBrian Anderson-2/+1
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-1/+4
Issue #409
2011-09-22rustc: Write raw type parameters instead of linearized type parameters in ↵Patrick Walton-36/+61
object body shapes
2011-09-22XFAIL task-commBrian Anderson-0/+1
2011-09-22Autoderef indexes and fields of unique boxesBrian Anderson-3/+25
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-5/+69
Issue #409