diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-27 14:01:36 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-27 14:01:36 -0800 |
| commit | e4c027446ec0d985be98dcbdce2b80308b88b12a (patch) | |
| tree | f821cb1ebcdce03b586ae18e886c592e4054b8b7 /src/rt/rust_task_thread.cpp | |
| parent | 8fdb213eb2b5fc226b9d077078dfab6bf7bac713 (diff) | |
| download | rust-e4c027446ec0d985be98dcbdce2b80308b88b12a.tar.gz rust-e4c027446ec0d985be98dcbdce2b80308b88b12a.zip | |
Revert "rt: Reconfigure the C stack for valgrind each time it's used"
This reverts commit 859e0256524a1f19ca0c79f518d2bb396355f174. This ended up not fixing the '0 bytes lost' problem and has some performance impact.
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index a83f890d62b..dde16ad70bd 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -371,6 +371,7 @@ 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, C_STACK_SIZE); + prepare_valgrind_stack(cached_c_stack); } } |
