diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-02-14 18:28:04 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-02-14 18:28:04 -0500 |
| commit | 1a41b484bf05514f469e69efd56fcd7039d34db9 (patch) | |
| tree | 7919895f900eeab44123a9bac38b38bdcb591d3a /src/rt/rust_stack.cpp | |
| parent | 2e0614750c398c9aac2f4064addb2fa95ba32282 (diff) | |
| download | rust-1a41b484bf05514f469e69efd56fcd7039d34db9.tar.gz rust-1a41b484bf05514f469e69efd56fcd7039d34db9.zip | |
rm the unused calloc wrapper from memory_region
it doesn't actually call calloc, so it's fairly pointless
Diffstat (limited to 'src/rt/rust_stack.cpp')
| -rw-r--r-- | src/rt/rust_stack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_stack.cpp b/src/rt/rust_stack.cpp index 7a3d21989ee..64ca256ff46 100644 --- a/src/rt/rust_stack.cpp +++ b/src/rt/rust_stack.cpp @@ -58,7 +58,7 @@ check_stack_canary(stk_seg *stk) { stk_seg * create_stack(memory_region *region, size_t sz) { size_t total_sz = sizeof(stk_seg) + sz; - stk_seg *stk = (stk_seg *)region->malloc(total_sz, "stack", false); + stk_seg *stk = (stk_seg *)region->malloc(total_sz, "stack"); memset(stk, 0, sizeof(stk_seg)); stk->end = (uintptr_t) &stk->data[sz]; add_stack_canary(stk); |
