about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
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-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/+119
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-1/+1
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
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-2/+8
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/+9
Issue #409
2011-09-22Initialize unique box locals from other localsBrian Anderson-6/+34
Issue #409
2011-09-22Convert trans_uniq asserts to preconditionsBrian Anderson-11/+20
Issue #409
2011-09-22Sprinkle some asserts through trans_uniqBrian Anderson-0/+14
2011-09-22Move uniq trans code to trans_uniq moduleBrian Anderson-54/+77
Issue #409
2011-09-22Factor alloc_uniq from trans_uniqBrian Anderson-6/+21
Issue #409
2011-09-22Don't unify unique boxes with different mutabilityBrian Anderson-3/+6
Issue #409