diff options
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index e7a69420aa8..fbcd164707f 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -290,7 +290,6 @@ rust_task_thread::start_main_loop() { I(this, !extra_c_stack); if (cached_c_stack) { - deregister_valgrind_stack(cached_c_stack); destroy_stack(kernel, cached_c_stack); cached_c_stack = NULL; } @@ -372,7 +371,6 @@ rust_task_thread::prepare_c_stack() { I(this, !extra_c_stack); if (!cached_c_stack) { cached_c_stack = create_stack(kernel, C_STACK_SIZE); - register_valgrind_stack(cached_c_stack); prepare_valgrind_stack(cached_c_stack); } } @@ -380,7 +378,6 @@ rust_task_thread::prepare_c_stack() { void rust_task_thread::unprepare_c_stack() { if (extra_c_stack) { - deregister_valgrind_stack(extra_c_stack); destroy_stack(kernel, extra_c_stack); extra_c_stack = NULL; } |
