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-03-03 16:57:58 -0800
committerBrian Anderson <banderson@mozilla.com>2012-03-05 19:39:56 -0800
commitc78da1e17016d178d55d5f899ab254f5ed44a899 (patch)
tree97c362805767cff1d42cf24149e9c0dbab35a523 /src/rt/rust_task.cpp
parentf057f003009fc84e2e80b3df7673eb9cae7f4810 (diff)
downloadrust-c78da1e17016d178d55d5f899ab254f5ed44a899.tar.gz
rust-c78da1e17016d178d55d5f899ab254f5ed44a899.zip
rt: Stop calling prepare_valgrind_stack when it's not needed
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index c9838b193e6..c6e0aa159da 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -602,7 +602,6 @@ rust_task::new_stack(size_t requested_sz) {
     LOGPTR(thread, "stk end", new_stk->end);
 
     stk = new_stk;
-    prepare_valgrind_stack(stk);
     total_stack_sz += user_stack_size(new_stk);
 }