diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-03-08 00:41:21 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-03-09 08:46:07 -0800 |
commit | 618e798e3ba00e8b95158fd1d7081ca91cc43bf5 (patch) | |
tree | 091b7e7719d83d7408d623c82a3deaeca96e67ed /src/vm/typedesc.h | |
parent | b219fbbe1fe72b4a44b5247c9a77f9447d34b028 (diff) | |
download | coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.tar.gz coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.tar.bz2 coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.zip |
Delete dead code
- Delete BINDER, STANDALONE_BINDER and MDIL ifdefs
Diffstat (limited to 'src/vm/typedesc.h')
-rw-r--r-- | src/vm/typedesc.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/vm/typedesc.h b/src/vm/typedesc.h index 748b7fe434..4bc4978543 100644 --- a/src/vm/typedesc.h +++ b/src/vm/typedesc.h @@ -203,7 +203,6 @@ public: PTR_BaseDomain GetDomain(); BOOL IsDomainNeutral(); -#ifndef BINDER PTR_LoaderAllocator GetLoaderAllocator() { SUPPORTS_DAC; @@ -212,7 +211,6 @@ public: } protected: -#endif // !BINDER // See methodtable.h for details of the flags with the same name there enum { @@ -248,9 +246,6 @@ class ParamTypeDesc : public TypeDesc { #ifdef DACCESS_COMPILE friend class NativeImageDumper; #endif -#ifdef BINDER - friend class MdilModule; -#endif public: #ifndef DACCESS_COMPILE @@ -277,7 +272,7 @@ public: INDEBUGIMPL(BOOL Verify();) OBJECTREF GetManagedClassObject(); -#ifndef BINDER + OBJECTREF GetManagedClassObjectIfExists() { CONTRACTL @@ -300,7 +295,6 @@ public: LoaderAllocator::GetHandleValueFast(m_hExposedClassObject, &objRet); return objRet; } -#endif TypeHandle GetModifiedType() { @@ -354,9 +348,7 @@ public: { STATIC_CONTRACT_SO_TOLERANT; WRAPPER_NO_CONTRACT; -#ifndef BINDER INDEBUG(Verify()); -#endif } //private: TypeHandle m_Arg; // The type that is being modified @@ -373,7 +365,6 @@ public: return GetTypeParam(); } -#ifndef CLR_STANDALONE_BINDER unsigned GetRank() { WRAPPER_NO_CONTRACT; SUPPORTS_DAC; @@ -383,13 +374,9 @@ public: else return dac_cast<PTR_ArrayClass>(GetMethodTable()->GetClass())->GetRank(); } -#else - unsigned GetRank(); -#endif MethodTable* GetParent() { -#ifndef BINDER WRAPPER_NO_CONTRACT; _ASSERTE(!m_TemplateMT.IsNull()); @@ -397,9 +384,6 @@ public: _ASSERTE(m_TemplateMT.GetValue()->ParentEquals(g_pArrayClass)); return g_pArrayClass; -#else - _ASSERTE(0); -#endif } #ifdef FEATURE_COMINTEROP @@ -460,9 +444,6 @@ class TypeVarTypeDesc : public TypeDesc #ifdef DACCESS_COMPILE friend class NativeImageDumper; #endif -#ifdef BINDER - friend class MdilModule; -#endif public: #ifndef DACCESS_COMPILE @@ -523,7 +504,6 @@ public: } OBJECTREF GetManagedClassObject(); -#ifndef BINDER OBJECTREF GetManagedClassObjectIfExists() { CONTRACTL @@ -546,7 +526,6 @@ public: LoaderAllocator::GetHandleValueFast(m_hExposedClassObject, &objRet); return objRet; } -#endif // Load the owning type. Note that the result is not guaranteed to be full loaded MethodDesc * LoadOwnerMethod(); |