about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-09 22:15:15 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-09 22:15:15 -0800
commitd90a9d3da0f8c77d98bd38148d78db95f7f8fc5a (patch)
treecedc6690bfd31bf7e97463f8c187e0d0a69fbfc0 /src/rt/rust_upcall.cpp
parentdff256cd198b6575f5194abb059c1798b7198f6f (diff)
downloadrust-d90a9d3da0f8c77d98bd38148d78db95f7f8fc5a.tar.gz
rust-d90a9d3da0f8c77d98bd38148d78db95f7f8fc5a.zip
rt: Inline everything on the C-stack-switching path
Diffstat (limited to 'src/rt/rust_upcall.cpp')
-rw-r--r--src/rt/rust_upcall.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp
index 8751a4b13e5..2eefe02aa2e 100644
--- a/src/rt/rust_upcall.cpp
+++ b/src/rt/rust_upcall.cpp
@@ -75,7 +75,6 @@ upcall_call_shim_on_c_stack(void *args, void *fn_ptr) {
         abort();
     }
 
-    task = rust_task_thread::get_task();
     task->record_stack_limit();
 }