summaryrefslogtreecommitdiff
path: root/src/inc/clrhost.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-03-08 00:41:21 -0800
committerJan Kotas <jkotas@microsoft.com>2016-03-09 08:46:07 -0800
commit618e798e3ba00e8b95158fd1d7081ca91cc43bf5 (patch)
tree091b7e7719d83d7408d623c82a3deaeca96e67ed /src/inc/clrhost.h
parentb219fbbe1fe72b4a44b5247c9a77f9447d34b028 (diff)
downloadcoreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.tar.gz
coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.tar.bz2
coreclr-618e798e3ba00e8b95158fd1d7081ca91cc43bf5.zip
Delete dead code
- Delete BINDER, STANDALONE_BINDER and MDIL ifdefs
Diffstat (limited to 'src/inc/clrhost.h')
-rw-r--r--src/inc/clrhost.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/inc/clrhost.h b/src/inc/clrhost.h
index c6c25bb9ba..8cd9e3e9c2 100644
--- a/src/inc/clrhost.h
+++ b/src/inc/clrhost.h
@@ -55,9 +55,7 @@
#endif // _DEBUG
-#ifndef CLR_STANDALONE_BINDER
IExecutionEngine *GetExecutionEngine();
-#endif
IEEMemoryManager *GetEEMemoryManager();
LPVOID ClrVirtualAlloc(LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect);
@@ -84,7 +82,6 @@ void ClrFlsAssociateCallback(DWORD slot, PTLS_CALLBACK_FUNCTION callback);
typedef LPVOID* (*CLRFLSGETBLOCK)();
extern CLRFLSGETBLOCK __ClrFlsGetBlock;
-#ifndef CLR_STANDALONE_BINDER
// Combining getter/setter into a single call
inline void ClrFlsIncrementValue(DWORD slot, int increment)
{
@@ -193,7 +190,6 @@ inline void ClrFlsSetValue(DWORD slot, void *pData)
END_PRESERVE_LAST_ERROR;
}
}
-#endif //!CLR_STANDALONE_BINDER
typedef LPVOID (*FastAllocInProcessHeapFunc)(DWORD dwFlags, SIZE_T dwBytes);
extern FastAllocInProcessHeapFunc __ClrAllocInProcessHeap;
@@ -611,7 +607,6 @@ public:
// At places where want to allocate stress log, we need to first check if we are allowed to do so.
// If ClrTlsInfo doesn't exist for this thread, we take it as can alloc
-#ifndef CLR_STANDALONE_BINDER
inline bool IsInCantAllocRegion ()
{
size_t count = 0;
@@ -624,7 +619,6 @@ inline bool IsInCantAllocRegion ()
}
// for stress log the rule is more restrict, we have to check the global counter too
extern BOOL IsInCantAllocStressLogRegion();
-#endif // !CLR_STANDALONE_BINDER
#include "genericstackprobe.inl"