Disable partial JIT invalidation on unmap (#1991)

This commit is contained in:
gdkchan 2021-02-07 20:25:14 -03:00 committed by GitHub
parent 201b583e44
commit aaea1febe6
2 changed files with 26 additions and 29 deletions

View file

@ -33,5 +33,10 @@ namespace ARMeilleure.Translation
{
return !HighCq && Interlocked.Increment(ref _callCount) == MinCallsForRejit;
}
public void ResetCallCount()
{
Interlocked.Exchange(ref _callCount, 0);
}
}
}