diff options
author | Aaron Robinson <arobins@microsoft.com> | 2018-07-23 03:30:57 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-07-23 03:30:57 -0700 |
commit | 92d2c4bde42569d2aa22e44550d69f7d743bf9a0 (patch) | |
tree | 7e2d617278db482306fb7b6f62c9f53545d917d8 /src/vm/comdelegate.cpp | |
parent | cc96914f80b6873c555d0ed377042537ef99f1af (diff) | |
download | coreclr-92d2c4bde42569d2aa22e44550d69f7d743bf9a0.tar.gz coreclr-92d2c4bde42569d2aa22e44550d69f7d743bf9a0.tar.bz2 coreclr-92d2c4bde42569d2aa22e44550d69f7d743bf9a0.zip |
Remove hosthook api (#19079)
* Remove CallNeedsHostHook() API
* Remove IsHostHookEnabled() API and with it related dead code
* Remove code enabling host hooks (i.e. COMPlus_GenerateStubForHost)
Remove function declarations for creating host hooks
Update comments
Diffstat (limited to 'src/vm/comdelegate.cpp')
-rw-r--r-- | src/vm/comdelegate.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/vm/comdelegate.cpp b/src/vm/comdelegate.cpp index 5db7ce7053..b64802ccb8 100644 --- a/src/vm/comdelegate.cpp +++ b/src/vm/comdelegate.cpp @@ -1433,15 +1433,12 @@ OBJECTREF COMDelegate::ConvertToDelegate(LPVOID pCallback, MethodTable* pMT) MethodDesc *pStubMD = pClass->m_pForwardStubMD; _ASSERTE(pStubMD != NULL && pStubMD->IsILStub()); - -#ifdef MDA_SUPPORTED +#if defined(MDA_SUPPORTED) if (MDA_GET_ASSISTANT(PInvokeStackImbalance)) { pInterceptStub = GenerateStubForMDA(pMD, pStubMD, pCallback, pInterceptStub); } #endif // MDA_SUPPORTED - - } if (pInterceptStub != NULL) @@ -1454,7 +1451,7 @@ OBJECTREF COMDelegate::ConvertToDelegate(LPVOID pCallback, MethodTable* pMT) } GCPROTECT_END(); -#endif // defined(_TARGET_X86_) +#endif // _TARGET_X86_ return delObj; } |