| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-11-18 | rt: Remove some stack-wasting macros from rust_task::yield | Brian Anderson | -4/+1 | |
| 2011-11-18 | intrinsics: Remove declaration of port_recv | Brian Anderson | -3/+0 | |
| 2011-11-18 | rt: Remove fail calls from rust_task::yield | Brian Anderson | -24/+25 | |
| 2011-11-18 | rt: Remove unblock call from rust_task::yield | Brian Anderson | -12/+27 | |
| 2011-11-18 | rt: Remove a lock from task_start_wrapper that does nothing | Brian Anderson | -3/+0 | |
| 2011-11-18 | rt: Replace two uses of yield with ctx->swap | Brian Anderson | -3/+2 | |
| These uses aren't really doing a full yield. They are just giving up control to the scheduler and will never return. | ||||
| 2011-11-18 | rt: Add comments to rust_task::yield | Brian Anderson | -0/+1 | |
| 2011-11-18 | rt: rust_task::conclude_failure doesn't need to call unblock | Brian Anderson | -2/+0 | |
| 2011-11-18 | intrinsics: Eliminate recv intrinsic | Brian Anderson | -62/+102 | |
| This intrinsic existed just to get ahold of the return pointer. I replaced it with a call_with_retptr intrinsic that grabs the return pointer and passes it to another Rust function, thereby eliminating the need to call C functions on the Rust stack. | ||||
| 2011-11-18 | rt: Add FIXMEs about races in rust_task | Brian Anderson | -1/+8 | |
| 2011-11-18 | rt: Remove task::on_wakeup. Unused | Brian Anderson | -19/+0 | |
| 2011-11-18 | rt: Remove some unnecessary setting of rust_task::killed | Brian Anderson | -2/+0 | |
| The value of this variable doesn't matter after the task fails. | ||||
| 2011-11-18 | rt: Remove rust_task::yield. Unused | Brian Anderson | -8/+0 | |
| 2011-11-18 | rt: Add some comments about methods that run on the Rust stack | Brian Anderson | -0/+2 | |
| 2011-11-18 | intrinsics: Remove the call to get_task from task_sleep | Brian Anderson | -16/+18 | |
| 2011-11-18 | intrinsics: Add some comments | Brian Anderson | -2/+4 | |
| 2011-11-18 | intrinsics: Move the call to upcall_fail out of rust_intrinsic_cast | Brian Anderson | -48/+12 | |
| 2011-11-18 | Add tests for unsafe::reinterpret_cast | Brian Anderson | -0/+14 | |
| 2011-11-18 | rt: Remove size_of and align_of functions. Now written in Rust | Brian Anderson | -18/+4 | |
| 2011-11-18 | stdlib: Add tests for sys::size_of and sys::align_of | Brian Anderson | -0/+45 | |
| 2011-11-18 | stdlib: Add some useful fields to the definition of type_desc | Brian Anderson | -3/+6 | |
| 2011-11-18 | Add some comments to kind.rs and last_use.rs | Marijn Haverbeke | -0/+33 | |
| 2011-11-18 | Make sure by-copy arguments take last-use into account | Marijn Haverbeke | -1/+7 | |
| 2011-11-18 | Register snapshot, finishing kind system transition | Marijn Haverbeke | -0/+5 | |
| Closes #1177 | ||||
| 2011-11-18 | Add some tests for new kind system | Marijn Haverbeke | -73/+30 | |
| Issue #1177 | ||||
| 2011-11-18 | Make sure trans translates record fields in the order they appear in code | Marijn Haverbeke | -24/+25 | |
| This prevents surprising side-effect orders, and makes them easier for the other passes to deal with. | ||||
| 2011-11-18 | Make trans use last_use info to not actually generate copies | Marijn Haverbeke | -25/+48 | |
| Issue #925 | ||||
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -476/+314 | |
| This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177 | ||||
| 2011-11-18 | Implement a last-use-of-local finding algorithm | Marijn Haverbeke | -6/+250 | |
| Issue #925 | ||||
| 2011-11-18 | Properly check kinds in instantiation of generics | Marijn Haverbeke | -286/+29 | |
| Issue #1177 | ||||
| 2011-11-18 | Prevent alias pass from inserting implicit copies for noncopyable types | Marijn Haverbeke | -6/+4 | |
| Issue #1177 | ||||
| 2011-11-18 | Overhaul the kind-checking pass | Marijn Haverbeke | -126/+189 | |
| Not really useful yet because missing last-use-of-local optimization. Also: instantiation of type parameters needs to be checked. Issue #1177 | ||||
| 2011-11-18 | Make tag, resource and object constructors take their arguments by copy | Marijn Haverbeke | -40/+18 | |
| Doing something like some([1, 2, 3]) will now no longer create a temporary copy of the vector. It will also be easier for the kind checker to see that putting a resource into a data-structure constructor is safe. | ||||
| 2011-11-18 | Add a pass-by-copy parameter passing convention | Marijn Haverbeke | -10/+36 | |
| This is intended to solve the problem of how to pass arguments to constructor functions -- you want to move in rvalues, but not have to explicitly copy stuff that is not an rvalue. The by-copy passing convention will ensure the callee gets its own copy of the value. For rvalues, it'll just pass off the value. For lvalues, it'll make a copy. Issue #1177 | ||||
| 2011-11-18 | Register snapshot | Marijn Haverbeke | -0/+5 | |
| 2011-11-18 | Preparation for kind system overhaul | Marijn Haverbeke | -58/+78 | |
| This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177 | ||||
| 2011-11-17 | comparing/walking two pointers still aligns same as 1 ptr | Niko Matsakis | -1/+1 | |
| 2011-11-17 | remove blank line | Niko Matsakis | -1/+0 | |
| 2011-11-17 | Re-enable cycle coll. on x86_64, seems to work better now. | Niko Matsakis | -3/+0 | |
| 2011-11-17 | make ref cnts a long not an int | Niko Matsakis | -1/+2 | |
| 2011-11-17 | add FIXME for issue #1184 | Niko Matsakis | -0/+4 | |
| 2011-11-17 | fix resource-generic | Niko Matsakis | -8/+5 | |
| 2011-11-17 | Merge branch 'master' of github.com:graydon/rust | Niko Matsakis | -309/+155 | |
| 2011-11-17 | Remove intrinsic_2 functions | Brian Anderson | -189/+0 | |
| 2011-11-17 | Register snapshots | Brian Anderson | -0/+5 | |
| 2011-11-17 | add an extra underscore | Niko Matsakis | -1/+1 | |
| 2011-11-17 | Stop using temporary intrinsic_2 functions | Brian Anderson | -195/+225 | |
| 2011-11-17 | Merge branch 'master' of github.com:graydon/rust | Niko Matsakis | -1/+5 | |
| 2011-11-17 | rt: Remove debug printf in rust_start | Brian Anderson | -1/+0 | |
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -106/+0 | |
