]> git.lizzy.rs Git - rust.git/commit
rt: Get rid of the rethrow in upcall_fail
authorBrian Anderson <banderson@mozilla.com>
Mon, 19 Dec 2011 00:59:49 +0000 (16:59 -0800)
committerBrian Anderson <banderson@mozilla.com>
Mon, 19 Dec 2011 01:17:31 +0000 (17:17 -0800)
commitbd6b80c9720bb4b0143378a052b568697ce3abe6
tree4d261511241d91b59b485f3192803c922d98b728
parentc73eb8ff51da170ff10aba73934f10e40d26366d
rt: Get rid of the rethrow in upcall_fail

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.
src/rt/rust_task.cpp
src/rt/rust_task.h
src/rt/rust_upcall.cpp