diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-03 16:57:58 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-05 19:39:56 -0800 |
| commit | c78da1e17016d178d55d5f899ab254f5ed44a899 (patch) | |
| tree | 97c362805767cff1d42cf24149e9c0dbab35a523 /src/rt/rust_task_thread.cpp | |
| parent | f057f003009fc84e2e80b3df7673eb9cae7f4810 (diff) | |
| download | rust-c78da1e17016d178d55d5f899ab254f5ed44a899.tar.gz rust-c78da1e17016d178d55d5f899ab254f5ed44a899.zip | |
rt: Stop calling prepare_valgrind_stack when it's not needed
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index eafeac305be..cf16f209a4e 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -388,7 +388,6 @@ rust_task_thread::prepare_c_stack(rust_task *task) { I(this, !extra_c_stack); if (!cached_c_stack && !task->have_c_stack()) { cached_c_stack = create_stack(kernel->region(), C_STACK_SIZE); - prepare_valgrind_stack(cached_c_stack); } } |
