Skip to content

Commit ae47aa2

Browse files
authored
Remove unused QCall for WinRTSupported (#44278)
1 parent 8ed2e95 commit ae47aa2

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

src/coreclr/src/classlibnative/bcltype/system.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -590,23 +590,6 @@ FCIMPL0(FC_BOOL_RET, SystemNative::IsServerGC)
590590
}
591591
FCIMPLEND
592592

593-
#ifdef FEATURE_COMINTEROP
594-
595-
BOOL QCALLTYPE SystemNative::WinRTSupported()
596-
{
597-
QCALL_CONTRACT;
598-
599-
BOOL hasWinRT = FALSE;
600-
601-
BEGIN_QCALL;
602-
hasWinRT = ::WinRTSupported();
603-
END_QCALL;
604-
605-
return hasWinRT;
606-
}
607-
608-
#endif // FEATURE_COMINTEROP
609-
610593
#if defined(TARGET_X86) || defined(TARGET_AMD64)
611594

612595
void QCALLTYPE SystemNative::X86BaseCpuId(int cpuInfo[4], int functionId, int subFunctionId)

src/coreclr/src/classlibnative/bcltype/system.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ class SystemNative
7373

7474
static FCDECL0(FC_BOOL_RET, IsServerGC);
7575

76-
#ifdef FEATURE_COMINTEROP
77-
static
78-
BOOL QCALLTYPE WinRTSupported();
79-
#endif // FEATURE_COMINTEROP
80-
8176
// Return a method info for the method were the exception was thrown
8277
static FCDECL1(ReflectMethodObject*, GetMethodFromStackTrace, ArrayBase* pStackTraceUNSAFE);
8378

src/coreclr/src/vm/ecalllist.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ FCFuncStart(gEnvironmentFuncs)
164164
QCFuncElement("GetProcessorCount", SystemNative::GetProcessorCount)
165165
FCFuncElement("GetCommandLineArgsNative", SystemNative::GetCommandLineArgs)
166166

167-
#if defined(FEATURE_COMINTEROP)
168-
QCFuncElement("WinRTSupported", SystemNative::WinRTSupported)
169-
#endif // FEATURE_COMINTEROP
170167
FCFuncElementSig("FailFast", &gsig_SM_Str_RetVoid, SystemNative::FailFast)
171168
FCFuncElementSig("FailFast", &gsig_SM_Str_Exception_RetVoid, SystemNative::FailFastWithException)
172169
FCFuncElementSig("FailFast", &gsig_SM_Str_Exception_Str_RetVoid, SystemNative::FailFastWithExceptionAndSource)

0 commit comments

Comments
 (0)