diff options
author | Aditya Mandaleeka <adityam@microsoft.com> | 2017-04-11 18:08:08 -0700 |
---|---|---|
committer | Aditya Mandaleeka <adityam@microsoft.com> | 2017-04-11 18:29:32 -0700 |
commit | bf7cf40e14b8cf35c68be089735dd16081db9dc4 (patch) | |
tree | 067e63fb4af61bb08af1d0ee1681bd03951b4e20 /src/gc | |
parent | 734f13c964610d1f4fee08611beca1aa02de0082 (diff) | |
download | coreclr-bf7cf40e14b8cf35c68be089735dd16081db9dc4.tar.gz coreclr-bf7cf40e14b8cf35c68be089735dd16081db9dc4.tar.bz2 coreclr-bf7cf40e14b8cf35c68be089735dd16081db9dc4.zip |
Delete Ref_ContainHandle and ContainsOBJECTHANDLE.
Diffstat (limited to 'src/gc')
-rw-r--r-- | src/gc/handletable.cpp | 18 | ||||
-rw-r--r-- | src/gc/objecthandle.h | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/gc/handletable.cpp b/src/gc/handletable.cpp index e56e1e1701..eee181959f 100644 --- a/src/gc/handletable.cpp +++ b/src/gc/handletable.cpp @@ -1338,24 +1338,6 @@ void Ref_RelocateAsyncPinHandles(HandleTableBucket *pSource, HandleTableBucket } #endif // !FEATURE_REDHAWK -BOOL Ref_ContainHandle(HandleTableBucket *pBucket, OBJECTHANDLE handle) -{ - CONTRACTL - { - NOTHROW; - GC_NOTRIGGER; - } - CONTRACTL_END; - - int limit = getNumberOfSlots(); - for (int n = 0; n < limit; n ++ ) - { - if (TableContainHandle(Table(pBucket->pTable[n]), handle)) - return TRUE; - } - - return FALSE; -} /*--------------------------------------------------------------------------*/ diff --git a/src/gc/objecthandle.h b/src/gc/objecthandle.h index 12124f8e96..d3e45f8659 100644 --- a/src/gc/objecthandle.h +++ b/src/gc/objecthandle.h @@ -111,7 +111,6 @@ BOOL Ref_HandleAsyncPinHandles(); void Ref_RelocateAsyncPinHandles(HandleTableBucket *pSource, HandleTableBucket *pTarget); void Ref_RemoveHandleTableBucket(HandleTableBucket *pBucket); void Ref_DestroyHandleTableBucket(HandleTableBucket *pBucket); -BOOL Ref_ContainHandle(HandleTableBucket *pBucket, OBJECTHANDLE handle); /* * GC-time scanning entrypoints |