From fc5385ef9ce5303bc22638ac36e9ba04ed4a9c21 Mon Sep 17 00:00:00 2001 From: Aditya Mandaleeka Date: Wed, 19 Apr 2017 15:18:57 -0700 Subject: Move ResetOBJECTHANDLE and the associated holder to the VM side. --- src/gc/objecthandle.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/gc') diff --git a/src/gc/objecthandle.h b/src/gc/objecthandle.h index c320dcc3a9..b3e4b58a1c 100644 --- a/src/gc/objecthandle.h +++ b/src/gc/objecthandle.h @@ -80,17 +80,6 @@ void GCHandleValidatePinnedObject(OBJECTREF obj); int GetCurrentThreadHomeHeapNumber(); -inline void ResetOBJECTHANDLE(OBJECTHANDLE handle) -{ - WRAPPER_NO_CONTRACT; - - HndAssignHandle(handle, NULL); -} - -#ifndef FEATURE_REDHAWK -typedef Holder,ResetOBJECTHANDLE> ObjectInHandleHolder; -#endif - /* * Table maintenance routines */ -- cgit v1.2.3