diff options
Diffstat (limited to 'src/vm/rejit.cpp')
-rw-r--r-- | src/vm/rejit.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vm/rejit.cpp b/src/vm/rejit.cpp index 0b6e922831..7bbd0e2f71 100644 --- a/src/vm/rejit.cpp +++ b/src/vm/rejit.cpp @@ -447,16 +447,10 @@ HRESULT ProfilerFunctionControl::SetILInstrumentedCodeMap(ULONG cILMapEntries, C return E_INVALIDARG; } -#ifdef FEATURE_CORECLR if (g_pDebugInterface == NULL) { return CORPROF_E_DEBUGGING_DISABLED; } -#else - // g_pDebugInterface is initialized on startup on desktop CLR, regardless of whether a debugger - // or profiler is loaded. So it should always be available. - _ASSERTE(g_pDebugInterface != NULL); -#endif // FEATURE_CORECLR // copy the il map and il map entries into the corresponding fields. |