From dc86291b53793e2d2d7d7961195cf74471accc82 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Wed, 22 May 2019 11:21:47 -0700 Subject: Delete FEATURE_WINDOWSPHONE (#24718) --- src/vm/comdelegate.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/vm/comdelegate.cpp') 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(); -- cgit v1.2.3