summaryrefslogtreecommitdiff
path: root/src/vm/jithelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r--src/vm/jithelpers.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp
index 48cfc1a41b..d132741b0d 100644
--- a/src/vm/jithelpers.cpp
+++ b/src/vm/jithelpers.cpp
@@ -6036,9 +6036,6 @@ NOINLINE HCIMPL2(void, JIT_Security_Prolog_Framed, CORINFO_METHOD_HANDLE methHnd
if ((pCurrent->IsInterceptedForDeclSecurity() &&
!(pCurrent->IsInterceptedForDeclSecurityCASDemandsOnly() &&
SecurityStackWalk::HasFlagsOrFullyTrusted(0)))
-#ifdef FEATURE_COMPRESSEDSTACK
- || SecurityStackWalk::MethodIsAnonymouslyHostedDynamicMethodWithCSToEvaluate(pCurrent)
-#endif //FEATURE_COMPRESSEDSTACK
)
{
MethodSecurityDescriptor MDSecDesc(pCurrent);