summaryrefslogtreecommitdiff
path: root/src/gc/objecthandle.cpp
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityam@microsoft.com>2017-04-05 19:31:32 -0700
committerAditya Mandaleeka <adityam@microsoft.com>2017-04-07 15:01:59 -0700
commit7721f89f517f09f90d46a1078f0d26caf3b310c0 (patch)
treeb3ef15e44a07ec27df233375f3437ec247995ca9 /src/gc/objecthandle.cpp
parent273e63414deccefd1ad048062e4d1ebfe5e5eb50 (diff)
downloadcoreclr-7721f89f517f09f90d46a1078f0d26caf3b310c0.tar.gz
coreclr-7721f89f517f09f90d46a1078f0d26caf3b310c0.tar.bz2
coreclr-7721f89f517f09f90d46a1078f0d26caf3b310c0.zip
Add creation of special handle types to IGCHandleTable.
Diffstat (limited to 'src/gc/objecthandle.cpp')
-rw-r--r--src/gc/objecthandle.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gc/objecthandle.cpp b/src/gc/objecthandle.cpp
index 5f5ecbf556..cf749bf010 100644
--- a/src/gc/objecthandle.cpp
+++ b/src/gc/objecthandle.cpp
@@ -871,24 +871,6 @@ void Ref_EndSynchronousGC(uint32_t condemned, uint32_t maxgen)
*/
}
-
-OBJECTHANDLE CreateDependentHandle(HHANDLETABLE table, OBJECTREF primary, OBJECTREF secondary)
-{
- CONTRACTL
- {
- THROWS;
- GC_NOTRIGGER;
- MODE_COOPERATIVE;
- }
- CONTRACTL_END;
-
- OBJECTHANDLE handle = HndCreateHandle(table, HNDTYPE_DEPENDENT, primary);
-
- SetDependentHandleSecondary(handle, secondary);
-
- return handle;
-}
-
void SetDependentHandleSecondary(OBJECTHANDLE handle, OBJECTREF objref)
{
CONTRACTL