summaryrefslogtreecommitdiff
path: root/src/vm/stubhelpers.cpp
diff options
context:
space:
mode:
authorRahul Kumar <rahku@microsoft.com>2016-08-04 11:43:21 -0700
committerRahul Kumar <rahku@microsoft.com>2016-08-10 11:47:03 -0700
commit1fcecafd7adbc050a951b02d5fe429a70acd3214 (patch)
treefdb5ee7eb02cddaa9a3bb286140da80776d573cd /src/vm/stubhelpers.cpp
parentdeb00ad58acf627763b6c0a7833fa789e3bb1cd0 (diff)
downloadcoreclr-1fcecafd7adbc050a951b02d5fe429a70acd3214.tar.gz
coreclr-1fcecafd7adbc050a951b02d5fe429a70acd3214.tar.bz2
coreclr-1fcecafd7adbc050a951b02d5fe429a70acd3214.zip
ARM64: Fix for ARM64TODO
Diffstat (limited to 'src/vm/stubhelpers.cpp')
-rw-r--r--src/vm/stubhelpers.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vm/stubhelpers.cpp b/src/vm/stubhelpers.cpp
index 5996f5ddee..abf2143d0b 100644
--- a/src/vm/stubhelpers.cpp
+++ b/src/vm/stubhelpers.cpp
@@ -400,11 +400,13 @@ FORCEINLINE static void *GetCOMIPFromRCW_GetTarget(IUnknown *pUnk, ComPlusCallIn
pComInfo->m_pInterceptStub = (LPVOID)-1;
}
#else // _TARGET_X86_
+#ifdef FEATURE_INCLUDE_ALL_INTERFACES
if (NDirect::IsHostHookEnabled())
{
// There's one static stub on !_TARGET_X86_.
return (LPVOID)GetEEFuncEntryPoint(PInvokeStubForHost);
}
+#endif // FEATURE_INCLUDE_ALL_INTERFACES
#endif // _TARGET_X86_
#endif // FEATURE_CORECLR
@@ -1259,11 +1261,13 @@ FCIMPL2(void*, StubHelpers::GetDelegateTarget, DelegateObject *pThisUNSAFE, UINT
// see IL code gen in NDirectStubLinker::DoNDirect for details.
*ppStubArg = target;
+#ifdef FEATURE_INCLUDE_ALL_INTERFACES
if (NDirect::IsHostHookEnabled())
{
// There's one static stub on !_TARGET_X86_.
pEntryPoint = GetEEFuncEntryPoint(PInvokeStubForHost);
}
+#endif // FEATURE_INCLUDE_ALL_INTERFACES
#elif defined(_TARGET_ARM_)
// @ARMTODO: Nothing to do for ARM yet since we don't support the hosted path.
#endif // _WIN64, _TARGET_ARM_