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 7016d95eb1
commit ee28ccebf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
}
}
}