diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gc/handletable.cpp | 18 | ||||
-rw-r--r-- | src/gc/objecthandle.h | 1 | ||||
-rw-r--r-- | src/vm/appdomain.cpp | 11 | ||||
-rw-r--r-- | src/vm/appdomain.hpp | 2 |
4 files changed, 0 insertions, 32 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 diff --git a/src/vm/appdomain.cpp b/src/vm/appdomain.cpp index 167db2d193..d9f42950c2 100644 --- a/src/vm/appdomain.cpp +++ b/src/vm/appdomain.cpp @@ -993,17 +993,6 @@ void BaseDomain::InitVSD() } #ifndef CROSSGEN_COMPILE -BOOL BaseDomain::ContainsOBJECTHANDLE(OBJECTHANDLE handle) -{ - CONTRACTL - { - NOTHROW; - GC_NOTRIGGER; - } - CONTRACTL_END; - - return Ref_ContainHandle(m_hHandleTableBucket,handle); -} DWORD BaseDomain::AllocateContextStaticsOffset(DWORD* pOffsetSlot) { diff --git a/src/vm/appdomain.hpp b/src/vm/appdomain.hpp index 99e22d3e0a..3573d2a0de 100644 --- a/src/vm/appdomain.hpp +++ b/src/vm/appdomain.hpp @@ -1343,8 +1343,6 @@ public: } #endif // DACCESS_COMPILE && !CROSSGEN_COMPILE - BOOL ContainsOBJECTHANDLE(OBJECTHANDLE handle); - IUnknown *GetFusionContext() {LIMITED_METHOD_CONTRACT; return m_pFusionContext; } CLRPrivBinderCoreCLR *GetTPABinderContext() {LIMITED_METHOD_CONTRACT; return m_pTPABinderContext; } |