summaryrefslogtreecommitdiff
path: root/src/vm/method.cpp
diff options
context:
space:
mode:
authordanmosemsft <danmose@microsoft.com>2017-02-14 21:07:49 -0800
committerdanmosemsft <danmose@microsoft.com>2017-02-14 21:24:05 -0800
commit16eb7551d9f5ea8ec593dc86b789df4db2198a4b (patch)
treeefec4968d631de26b785b962770e50c5874a83e8 /src/vm/method.cpp
parent1c1cc23cddad0eb765752d774a48dc686ae1d61f (diff)
downloadcoreclr-16eb7551d9f5ea8ec593dc86b789df4db2198a4b.tar.gz
coreclr-16eb7551d9f5ea8ec593dc86b789df4db2198a4b.tar.bz2
coreclr-16eb7551d9f5ea8ec593dc86b789df4db2198a4b.zip
Remove never defined FEATURE_MIXEDMODE
Diffstat (limited to 'src/vm/method.cpp')
-rw-r--r--src/vm/method.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/vm/method.cpp b/src/vm/method.cpp
index 12eeb60c96..135787257b 100644
--- a/src/vm/method.cpp
+++ b/src/vm/method.cpp
@@ -5259,37 +5259,6 @@ LPVOID NDirectMethodDesc::FindEntryPoint(HINSTANCE hMod) const
}
#endif // CROSSGEN_COMPILE
-#if defined(FEATURE_MIXEDMODE) && !defined(CROSSGEN_COMPILE)
-//*******************************************************************************
-void NDirectMethodDesc::InitEarlyBoundNDirectTarget()
-{
- CONTRACTL
- {
- THROWS;
- GC_TRIGGERS;
- INJECT_FAULT(COMPlusThrowOM(););
- }
- CONTRACTL_END
-
- _ASSERTE(IsEarlyBound());
-
- if (IsClassConstructorTriggeredAtLinkTime())
- {
- GetMethodTable()->CheckRunClassInitThrowing();
- }
-
- const void *target = GetModule()->GetInternalPInvokeTarget(GetRVA());
- _ASSERTE(target != 0);
-
- if (HeuristicDoesThisLookLikeAGetLastErrorCall((LPBYTE)target))
- target = (BYTE*) FalseGetLastError;
-
- // As long as we've set the NDirect target field we don't need to backpatch the import thunk glue.
- // All NDirect calls all through the NDirect target, so if it's updated, then we won't go into
- // NDirectImportThunk(). In fact, backpatching the import thunk glue leads to race conditions.
- SetNDirectTarget((LPVOID)target);
-}
-#endif // FEATURE_MIXEDMODE && !CROSSGEN_COMPILE
//*******************************************************************************
void MethodDesc::ComputeSuppressUnmanagedCodeAccessAttr(IMDInternalImport *pImport)