From af2d01e36ba2773134e102fcb0828898575c93fd Mon Sep 17 00:00:00 2001 From: Ben Blum Date: Thu, 28 Jun 2012 14:40:31 -0400 Subject: Fix sys::refcount and remove dbg::refcount --- src/rt/rust_builtin.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/rt/rust_builtin.cpp') 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(); -- cgit 1.4.1-3-g733a5