rt: Stop calling prepare_valgrind_stack when it's not needed

This commit is contained in:
Brian Anderson
2012-03-03 16:57:58 -08:00
parent f057f00300
commit c78da1e170
2 changed files with 0 additions and 2 deletions

View File

@@ -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);
}