about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-08 21:18:23 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-09 19:00:15 -0800
commit1e2fe4ab8f132e6e84568b050dfaaabdaeae0c43 (patch)
tree5ba1dd1a4aebf7090906b7cec0063aff3aafe607 /src/rt/rust_task.cpp
parent0667fb4e6342a6a18320b464316ae7ba9c2bc192 (diff)
downloadrust-1e2fe4ab8f132e6e84568b050dfaaabdaeae0c43.tar.gz
rust-1e2fe4ab8f132e6e84568b050dfaaabdaeae0c43.zip
rt: Rename call_shim_on_c_stack to call_and_change_stacks
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 32245c5d9cd..621eb1e54bc 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -194,7 +194,7 @@ void task_start_wrapper(spawn_args *a)
 
     // The cleanup work needs lots of stack
     cleanup_args ca = {a, threw_exception};
-    task->thread->c_context.call_shim_on_c_stack(&ca, (void*)cleanup_task);
+    task->thread->c_context.call_and_change_stacks(&ca, (void*)cleanup_task);
 
     task->ctx.next->swap(task->ctx);
 }