| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-17 | roll back commit 1c7a62 | Niko Matsakis | -9/+0 | |
| 2012-01-17 | Use a memset upcall to zero things without static alignment | Marijn Haverbeke | -0/+9 | |
| This fixes issues #843 and #1546. The cost of an upcall is unfortunate, though. I assume there must be a way to simply manually compute the pointer or size, using something akin to the formula in `align_to` in `rust_util.h`. I could not get this to work, unfortunately. | ||||
| 2012-01-12 | add tydescs into shape, rewrite walk_fn_contents() | Niko Matsakis | -5/+7 | |
| 2012-01-12 | free uniq data we encounter on the sweep, walk thru them otherwise | Niko Matsakis | -1/+1 | |
| 2012-01-07 | fix valgrind error: allocate enough space for all type descs | Niko Matsakis | -1/+1 | |
| 2012-01-06 | plug leak: free shared type descrs recursively, as we ought to | Niko Matsakis | -1/+3 | |
| 2012-01-06 | fix how we walk functions to match new closure fmt | Niko Matsakis | -0/+1 | |
| 2012-01-06 | Make binding of fns with bounded type parameters work | Marijn Haverbeke | -0/+26 | |
| Interns non-static dicts to heap-allocated equivalents so that they no longer have stack scope. Closes #1436 | ||||
| 2012-01-01 | freebsd support | User Jyyou | -1/+1 | |
| 2011-12-20 | rt: Don't check the stack canary on most upcalls | Brian Anderson | -10/+1 | |
| 2011-12-20 | rt: Do fewer stack canary checks | Brian Anderson | -3/+5 | |
| 2011-12-20 | rt: Add a canary value to the end of every stack | Brian Anderson | -3/+12 | |
| Check it on upcall entry and exit, and on stack deletion | ||||
| 2011-12-19 | rt: Give upcall_new_stack the same convention as other upcalls | Brian Anderson | -10/+13 | |
| 2011-12-19 | rt: Give upcall_del_stack the same convention as other upcalls | Brian Anderson | -2/+6 | |
| 2011-12-18 | rt: Get rid of the rethrow in upcall_fail | Brian Anderson | -7/+14 | |
| Throwing in upcall_fail ends up running lots of code in the red zone. To avoid it we have the personality function figure out which stack it's on and switch as needed. | ||||
| 2011-12-18 | rt: Create different stack-switching paths for upcalls and shims | Brian Anderson | -22/+34 | |
| Shims need to play with the stack limit, upcalls don't. Only one upcall, upcall_fail is allowed to catch, and we need a find a way to get rid of that catch as well because it results in _Unwind_Resume running off the end of the Rust stack. | ||||
| 2011-12-17 | rt: Turn on stack alignment checks for mac | Brian Anderson | -2/+2 | |
| 2011-12-16 | rt: Only call check_stack_alignment on linux | Brian Anderson | -0/+5 | |
| 2011-12-16 | rt: Insert stack alignment checks into upcalls | Brian Anderson | -0/+10 | |
| 2011-12-16 | update to not look at descs[], which is not necessarily valid | Niko Matsakis | -8/+10 | |
| if the input is a statically allocated type_desc | ||||
| 2011-12-15 | massive refactor of how closures work | Niko Matsakis | -38/+91 | |
| 2011-12-14 | export upcall_clone_type_desc | Niko Matsakis | -1/+1 | |
| 2011-12-14 | clone type desc into exchange heap | Niko Matsakis | -1/+4 | |
| 2011-12-14 | get basic code generation working, clone type descs for lambda[send] | Niko Matsakis | -0/+33 | |
| 2011-12-11 | rt: Call upcall_fail on the C stack | Brian Anderson | -3/+1 | |
| 2011-12-07 | rt: Reorganize and add documentation for rust_upcall.cpp | Brian Anderson | -170/+163 | |
| 2011-12-07 | rt: Run most upcalls on the C stack | Brian Anderson | -60/+66 | |
| 2011-12-06 | rt: Reorganize rust_upcall.cpp a bit | Brian Anderson | -32/+36 | |
| 2011-12-06 | rt: Convert log_type and cmp_type upcalls to shim form | Brian Anderson | -10/+39 | |
| 2011-12-06 | rt: Move upcall_cmp_type/upcall_log_type to rust_upcall.cpp | Brian Anderson | -0/+20 | |
| 2011-12-06 | modify upcalls to take structs as args | Niko Matsakis | -84/+252 | |
| 2011-12-06 | rt: Various tweaks to make __morestack unwinding work on linux | Brian Anderson | -0/+9 | |
| When unwinding through __morestack the stack limit in the TLS is invalidated and must be reset. Instead of actually landing at __morestack we're just going to make all our Rust landing pads call upcall_reset_stack_limit, which will find the stack segment that corresponds to the current stack pointer and put the limit in the TLS. Also massively expand the stack segment red zone to make more room for the dynamic linker. Will fix in the future. | ||||
| 2011-12-05 | rt: Make stack unwinding work more correctly with stack growth | Brian Anderson | -2/+2 | |
| 2011-12-05 | test: Test hitting the dynamic linker in the red zone | Brian Anderson | -3/+3 | |
| 2011-12-05 | rt: Use an out pointer for rust_new_stack | Brian Anderson | -9/+21 | |
| upcall_call_shim_on_c_stack does not handle return values | ||||
| 2011-12-05 | test: Add more tests for stack growth | Brian Anderson | -3/+11 | |
| 2011-11-30 | rt: Reorganize stack growth code | Brian Anderson | -0/+20 | |
| 2011-11-30 | rt: Remove upcall_alloc_c_stack/call_c_stack, et. al. | Brian Anderson | -10/+0 | |
| We are using upcall_call_shim_on_c_stack now | ||||
| 2011-11-18 | get pure wrappers approach running | Niko Matsakis | -0/+10 | |
| 2011-11-02 | hack around on makefiles trying to get a 64 bit build | Niko Matsakis | -1/+5 | |
| right now there are many temporary hacks, search for NDM to find them | ||||
| 2011-10-20 | Get rid of taskpointer-passing throughout the compiler | Marijn Haverbeke | -3/+2 | |
| Only intrinsics still take a dummy taskptr. We'll have to do some makefile stunts to snapshot a version without taskptrs-in-intrinsics. Issue #466 | ||||
| 2011-10-20 | Do not pass taskpointers to "rust" native functions | Marijn Haverbeke | -2/+2 | |
| Issue #466 | ||||
| 2011-10-20 | Remove taskptr argument from upcalls | Marijn Haverbeke | -17/+21 | |
| Issue #466 | ||||
| 2011-09-28 | rt: Add an upcall to allocate space on the C stack. This will be used for ↵ | Patrick Walton | -0/+10 | |
| native calls on the C stack. | ||||
| 2011-09-27 | rt: Store the task in TLS | Patrick Walton | -1/+3 | |
| 2011-09-26 | rt: Remove obsolete comment | Patrick Walton | -2/+0 | |
| 2011-09-23 | rt: Add a RUST_TRACK_ORIGINS debug flag to help track down memory corruption | Patrick Walton | -0/+5 | |
| 2011-09-20 | rt: Zero out allocations so that the CC won't die if it happens to run while ↵ | Patrick Walton | -0/+2 | |
| a box is being constructed. This is kind of unfortunate. | ||||
| 2011-09-20 | rt: Stub code for the cycle collector | Patrick Walton | -0/+2 | |
| 2011-09-20 | rt: Add an on-the-side GC chain | Patrick Walton | -0/+4 | |
