diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-10 11:31:17 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-10 12:58:35 -0800 |
| commit | c42492e6aa481a65e4919b5ab26f4b0936556fc0 (patch) | |
| tree | 7959ee17acd6f12434373601db265665cc8c7873 /src/rt/rust_task.cpp | |
| parent | dd0ae80e63beed52164eac76bc94b36b73b6c590 (diff) | |
| download | rust-c42492e6aa481a65e4919b5ab26f4b0936556fc0.tar.gz rust-c42492e6aa481a65e4919b5ab26f4b0936556fc0.zip | |
rt: Rename config_valgrind_stack to register_valgrind_stack, etc
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index a870035b027..c290e2ade13 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -567,7 +567,7 @@ rust_task::new_stack(size_t requested_sz) { LOG(this, mem, "reusing existing stack"); stk = stk->prev; A(thread, stk->prev == NULL, "Bogus stack ptr"); - config_valgrind_stack(stk); + register_valgrind_stack(stk); return; } else { LOG(this, mem, "existing stack is not big enough"); @@ -598,7 +598,7 @@ rust_task::new_stack(size_t requested_sz) { LOGPTR(thread, "stk end", new_stk->end); stk = new_stk; - config_valgrind_stack(stk); + register_valgrind_stack(stk); total_stack_sz += user_stack_size(new_stk); } @@ -626,7 +626,7 @@ rust_task::del_stack() { old_stk->prev = NULL; } - unconfig_valgrind_stack(old_stk); + deregister_valgrind_stack(old_stk); if (delete_stack) { free_stack(old_stk); A(thread, total_stack_sz == 0, "Stack size should be 0"); |
