about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-09-07Rewrite spawn yet againBrian Anderson-92/+85
The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236
2011-09-07Refactor task failure a bitBrian Anderson-3/+3
Issue #236
2011-09-07Work around destructuring bugMarijn Haverbeke-13/+21
2011-09-07Make it possible to take the value of (and bind) native fnsMarijn Haverbeke-33/+28
Closes #820
2011-09-06Forbid blocks from deinitializing upvarsTim Chevalier-7/+30
Move expressions where the RHS is an upvar are now forbidden within block expressions.
2011-09-06rt: Implement poison-on-free, for debugging memory issuesPatrick Walton-1/+23
2011-09-03Remove unused runtime functions. Issue #855Brian Anderson-12/+0
2011-09-03Register new snapshotsBrian Anderson-0/+5
2011-09-02Add a rust_str typedef to the runtime. Issue #855Brian Anderson-12/+14
2011-09-02Rename istr-stuff to str in the runtime. Issue #855Brian Anderson-13/+13
2011-09-02Rename istr-stuff to str in rustc. Issue #855Brian Anderson-11/+11
2011-09-02Rename ty_istr to ty_str. Issue #855Brian Anderson-35/+35
2011-09-02Print the type of istrs as 'str' in error messages. Issue #855Brian Anderson-4/+4
2011-09-02Stop parsing transitional istr forms. Issue #855Brian Anderson-24/+1
2011-09-02Remove transitional code from combine-tests.py. Issue #855Brian Anderson-7/+1
2011-09-02Reformat. Issue #855Brian Anderson-5789/+5106
2011-09-02Add a constraint to trans::type_ofTim Chevalier-116/+231
trans::type_of now has a constraint saying that its type argument is statically sized. This eliminates the "impossible happened" case in type_of. Yay! I note that this change decreased translation time for stage2/rustc from 16.1 s to 14.0 s. I also think many of the remaining checks could be eliminated with some mildly clever use of constrained types and further preconditions. Future work!
2011-09-02Handle if-check with no else correctly in typestateTim Chevalier-4/+17
Propagate the if-check constraint into the consequent even when there's no else branch. (Oops!)
2011-09-02rustc: Zero out unique pointers after we drop themPatrick Walton-1/+7
2011-09-02Remove rustc::syntax::untyped_ast. Dead codeBrian Anderson-816/+0
2011-09-02Rename std::vec::unsafe::ivec_repr to vec_repr. Issue #855Brian Anderson-5/+5
2011-09-02Eliminate const_refcount. Issue #855Brian Anderson-42/+7
2011-09-02Remove estrs and evecs from runtime. Issue #855Brian Anderson-310/+38
2011-09-02rustc: Root values spilled via do_spill()Patrick Walton-42/+76
2011-09-02rt: Remove evecs from the shape codePatrick Walton-55/+0
2011-09-02test: Add a test case for linearize_ty_params() and shapesPatrick Walton-0/+25
2011-09-02rustc: Make the shape-emitting code aware of linearized type parametersPatrick Walton-16/+44
2011-09-02Rename ivecs to vecs in the compilerMarijn Haverbeke-124/+85
2011-09-02Remove remaining evec support from transMarijn Haverbeke-141/+8
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-140/+35
2011-09-01Remove #ifmt. Issue #855Brian Anderson-432/+0
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-180/+180
2011-09-01Register new snapshotsBrian Anderson-0/+5
2011-09-01Make #fmt and #ifmt synonymous. Issue #855Brian Anderson-166/+598
2011-09-01Use #env to get the rustc version again. Issue #855Brian Anderson-3/+1
2011-09-01Add a constraint in transTim Chevalier-9/+31
Experimenting with adding typestate constraints in the compiler. Added a constraint to GEP_tag that says the variant index is in bounds. Added necessary checks.
2011-09-01Do less work in run-pass/task-comm.rsBrian Anderson-2/+2
This test is not important enough to be taking so long
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-741/+741
2011-09-01Fix the error-patterns in 2 cfail tests. Issue #855Brian Anderson-2/+2
2011-09-01Parse "",str as istrs. Pretty print istrs as "",str. Issue #855Brian Anderson-12/+5
2011-09-01Convert some comm tests to istrs. Issue #855Brian Anderson-8/+8
These spawn thunks need to take move-mode strings to be correct
2011-09-01Make GEP_tag take a uint instead of an intTim Chevalier-9/+9
Seems to make more sense and avoids the need for some casts.
2011-09-01Declare a bunch of int functions as pureTim Chevalier-15/+15
2011-09-01Add a test that lambdas can't deinitialize upvarsTim Chevalier-0/+8
2011-09-01Remove std::str. Issue #855Brian Anderson-59/+2
2011-09-01Remove estr conversion functions. Issue #855Brian Anderson-38/+0
2011-09-01Convert rust_list_files to istrs. Issue #855Brian Anderson-28/+41
2011-09-01Convert rust_getcwd to istrs. Issue #855Brian Anderson-19/+8
2011-09-01Factor out make_istr utility function in runtime. Issue #855Brian Anderson-8/+16
2011-09-01No, not all fn constraints have the same args as the fn does, in the same ↵Tim Chevalier-4/+29
order... derp! Closes #862