summaryrefslogtreecommitdiff
path: root/src/gc
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityam@microsoft.com>2017-04-19 15:18:57 -0700
committerAditya Mandaleeka <adityam@microsoft.com>2017-04-19 15:20:13 -0700
commitfc5385ef9ce5303bc22638ac36e9ba04ed4a9c21 (patch)
treed20a517951c9e0f0f84062e4bd87b10c72976c09 /src/gc
parentae75f5d540b7373743d3698d6e2c1e7be93fd821 (diff)
downloadcoreclr-fc5385ef9ce5303bc22638ac36e9ba04ed4a9c21.tar.gz
coreclr-fc5385ef9ce5303bc22638ac36e9ba04ed4a9c21.tar.bz2
coreclr-fc5385ef9ce5303bc22638ac36e9ba04ed4a9c21.zip
Move ResetOBJECTHANDLE and the associated holder to the VM side.
Diffstat (limited to 'src/gc')
-rw-r--r--src/gc/objecthandle.h11
1 files changed, 0 insertions, 11 deletions
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<OBJECTHANDLE,DoNothing<OBJECTHANDLE>,ResetOBJECTHANDLE> ObjectInHandleHolder;
-#endif
-
/*
* Table maintenance routines
*/