diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-10 11:24:44 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-10 12:58:35 -0800 |
| commit | fc028c30a0570e097f4f16f9731c1433226e5367 (patch) | |
| tree | 909bf3201cd6f3a9e61b1a63533f5f0d64fd7035 /src/rt/rust_task.cpp | |
| parent | 5fc2e9e9ab9cf0329fb9f18c28c2df545e4e3edc (diff) | |
| download | rust-fc028c30a0570e097f4f16f9731c1433226e5367.tar.gz rust-fc028c30a0570e097f4f16f9731c1433226e5367.zip | |
rt: Move the addition of the stack canary into create_stack
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index b2b2753476a..a870035b027 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -593,7 +593,6 @@ rust_task::new_stack(size_t requested_sz) { size_t sz = rust_stk_sz + RED_ZONE_SIZE; stk_seg *new_stk = create_stack(this, sz); LOGPTR(thread, "new stk", (uintptr_t)new_stk); - add_stack_canary(new_stk); new_stk->prev = NULL; new_stk->next = stk; LOGPTR(thread, "stk end", new_stk->end); |
