summaryrefslogtreecommitdiff
path: root/src/vm/jithelpers.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-11-21 08:23:30 -0800
committerGitHub <noreply@github.com>2018-11-21 08:23:30 -0800
commitc94d8e68222d931d4bb1c4eb9a52b4b056e85f12 (patch)
tree8698c9c4e26b58feee82d8e743ca9e5d89f1f2c6 /src/vm/jithelpers.cpp
parent5e1cee78e6e7a2464deee07acfe5fe9c33925828 (diff)
downloadcoreclr-c94d8e68222d931d4bb1c4eb9a52b4b056e85f12.tar.gz
coreclr-c94d8e68222d931d4bb1c4eb9a52b4b056e85f12.tar.bz2
coreclr-c94d8e68222d931d4bb1c4eb9a52b4b056e85f12.zip
Delete dead/unused code (#21138)
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r--src/vm/jithelpers.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index 165073b002..e60ffaeca1 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -6253,17 +6253,6 @@ void InitJitHelperLogging()
#endif
#endif // _TARGET_X86_
- if (g_pConfig->NgenHardBind() == EEConfig::NGEN_HARD_BIND_NONE)
- {
- _ASSERTE(g_pConfig->NgenHardBind() != EEConfig::NGEN_HARD_BIND_NONE && "You are "
- "trying to log JIT helper method calls while you have NGEN HARD BINDING "
- "set to 0. This probably means you're really trying to NGEN something for "
- "logging purposes, NGEN breaks with JitHelperLogging turned on!!!! Please "
- "set JitHelperLogging=0 while you NGEN, or unset HardPrejitEnabled while "
- "running managed code.");
- return;
- }
-
// Make the static hlpFuncTable read/write for purposes of writing the logging thunks
DWORD dwOldProtect;
if (!ClrVirtualProtect((LPVOID)hlpFuncTable, (sizeof(VMHELPDEF) * CORINFO_HELP_COUNT), PAGE_EXECUTE_READWRITE, &dwOldProtect))