diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-03-21 18:20:55 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-03-21 18:21:11 -0700 |
| commit | a9e7bff731613e23ad2e81ac2c5f0f04d6676d7b (patch) | |
| tree | 3b80eb4f1aa3aec4a7b1acadbb3752d480eae9f7 /src/rt/rust_stack.cpp | |
| parent | 44bd8da7fd444c675562718d9a112b591e2a2fa0 (diff) | |
| download | rust-a9e7bff731613e23ad2e81ac2c5f0f04d6676d7b.tar.gz rust-a9e7bff731613e23ad2e81ac2c5f0f04d6676d7b.zip | |
Remove incorrect uses of NVALGRIND, Close #1435.
Diffstat (limited to 'src/rt/rust_stack.cpp')
| -rw-r--r-- | src/rt/rust_stack.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rt/rust_stack.cpp b/src/rt/rust_stack.cpp index 0522b3b9847..0b44575e0f6 100644 --- a/src/rt/rust_stack.cpp +++ b/src/rt/rust_stack.cpp @@ -18,7 +18,6 @@ register_valgrind_stack(stk_seg *stk) { void reuse_valgrind_stack(stk_seg *stk, uint8_t *sp) { -#ifndef NVALGRIND // Establish that the stack is accessible. This must be done when reusing // old stack segments, since the act of popping the stack previously // caused valgrind to consider the whole thing inaccessible. @@ -26,7 +25,6 @@ reuse_valgrind_stack(stk_seg *stk, uint8_t *sp) { && "Stack pointer must be inside stack segment"); size_t sz = stk->end - (uintptr_t)sp; VALGRIND_MAKE_MEM_UNDEFINED(sp, sz); -#endif } void |
