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 | |
| parent | ad8280712f266a3b58a02bea594191729e00ac16 (diff) | |
Fix sys::refcount and remove dbg::refcount
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 7 | ||||
| -rw-r--r-- | src/rt/rustrt.def.in | 1 |
2 files changed, 0 insertions, 8 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(); diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in index 78ee8e41944..0be74d20e24 100644 --- a/src/rt/rustrt.def.in +++ b/src/rt/rustrt.def.in @@ -29,7 +29,6 @@ rand_new rand_new_seeded rand_next rand_seed -refcount rust_get_sched_id rust_new_sched rust_new_task_in_sched |
