diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2012-06-28 14:40:31 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2012-06-28 14:40:31 -0400 |
| commit | af2d01e36ba2773134e102fcb0828898575c93fd (patch) | |
| tree | 6b575ecfc459f21268b97a43ed5ff9eaff5f51e7 /src/rt/rust_builtin.cpp | |
| parent | ad8280712f266a3b58a02bea594191729e00ac16 (diff) | |
| download | rust-af2d01e36ba2773134e102fcb0828898575c93fd.tar.gz rust-af2d01e36ba2773134e102fcb0828898575c93fd.zip | |
Fix sys::refcount and remove dbg::refcount
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 7ffaccece64..04d11e020ea 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -127,13 +127,6 @@ rust_env_pairs() { } #endif -extern "C" CDECL intptr_t -refcount(intptr_t *v) { - // Passed-in value has refcount 1 too high - // because it was ref'ed while making the call. - return (*v) - 1; -} - extern "C" CDECL void unsupervise() { rust_task *task = rust_get_current_task(); |
