diff options
Diffstat (limited to 'src/vm/comdelegate.cpp')
-rw-r--r-- | src/vm/comdelegate.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/vm/comdelegate.cpp b/src/vm/comdelegate.cpp index 8125f89d25..c0392eedf6 100644 --- a/src/vm/comdelegate.cpp +++ b/src/vm/comdelegate.cpp @@ -1189,19 +1189,6 @@ LPVOID COMDelegate::ConvertToCallback(OBJECTREF pDelegateObj) objhnd, pUMThunkMarshInfo, pInvokeMeth); -#ifdef FEATURE_WINDOWSPHONE - // Perform the runtime initialization lazily for better startup time. Lazy initialization - // has worse diagnostic experience (the invalid marshaling directive exception is thrown - // lazily on the first call instead of during delegate creation), but it should be ok - // for CoreCLR on phone because of reverse p-invoke is for internal use only. -#else - { - GCX_PREEMP(); - - pUMEntryThunk->RunTimeInit(); - } -#endif - if (!pInteropInfo->SetUMEntryThunk(pUMEntryThunk)) { pUMEntryThunk = (UMEntryThunk*)pInteropInfo->GetUMEntryThunk(); |