summaryrefslogtreecommitdiff
path: root/src/vm/comdelegate.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-05-22 11:21:47 -0700
committerGitHub <noreply@github.com>2019-05-22 11:21:47 -0700
commitdc86291b53793e2d2d7d7961195cf74471accc82 (patch)
tree0146cf20093b53ee538000856daf9d901af73bd4 /src/vm/comdelegate.cpp
parentce5a35f001b08470518ed85f78db7f360f9f77b8 (diff)
downloadcoreclr-dc86291b53793e2d2d7d7961195cf74471accc82.tar.gz
coreclr-dc86291b53793e2d2d7d7961195cf74471accc82.tar.bz2
coreclr-dc86291b53793e2d2d7d7961195cf74471accc82.zip
Delete FEATURE_WINDOWSPHONE (#24718)
Diffstat (limited to 'src/vm/comdelegate.cpp')
-rw-r--r--src/vm/comdelegate.cpp13
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();