Remove assert in SetProfilerMayHaveActivatedNonDefaultCodeVersion (dotnet/coreclr...
authorDavid Mason <davmason@microsoft.com>
Wed, 18 Sep 2019 01:38:00 +0000 (18:38 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2019 01:38:00 +0000 (18:38 -0700)
Remove assert that was causing spurious profiler test failures.

Commit migrated from https://github.com/dotnet/coreclr/commit/5733ebb8ba1d8ca24c36ade50e5bef0a5d9ce907

src/coreclr/src/vm/method.hpp

index 989adda..7ccd037 100644 (file)
@@ -2089,8 +2089,6 @@ public:
     void SetProfilerMayHaveActivatedNonDefaultCodeVersion()
     {
         WRAPPER_NO_CONTRACT;
-        _ASSERTE(!m_profilerMayHaveActivatedNonDefaultCodeVersion);
-
         m_profilerMayHaveActivatedNonDefaultCodeVersion = true;
     }