[Local GC] Handle table low-hanging interface violations (dotnet/coreclr#10929)
authorSean Gillespie <sean@swgillespie.me>
Thu, 13 Apr 2017 22:35:42 +0000 (15:35 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Apr 2017 22:35:42 +0000 (15:35 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/56776b20f5902ef60d43cb502d734193b2521fca

src/coreclr/src/gc/handletablescan.cpp

index 86ce62d..065ba0d 100644 (file)
@@ -949,7 +949,7 @@ static void VerifyObjectAndAge(_UNCHECKED_OBJECTREF *pValue, _UNCHECKED_OBJECTRE
     if (minAge >= GEN_MAX_AGE || (minAge > thisAge && thisAge < static_cast<int>(g_theGCHeap->GetMaxGeneration())))
     {
         _ASSERTE(!"Fatal Error in HandleTable.");
-        EEPOLICY_HANDLE_FATAL_ERROR(COR_E_EXECUTIONENGINE);
+        GCToEEInterface::HandleFatalError(COR_E_EXECUTIONENGINE);
     }
 }