Small tweak -- Compile before adding to the cache, to avoid lags
This commit is contained in:
parent
35c6b4e35d
commit
aa1eebcf6d
1 changed files with 2 additions and 2 deletions
|
@ -164,10 +164,10 @@ namespace ChocolArm64.Translation
|
||||||
ilOpCount += ilBlock.Count;
|
ilOpCount += ilBlock.Count;
|
||||||
}
|
}
|
||||||
|
|
||||||
_cache.AddOrUpdate(position, subroutine, ilOpCount);
|
|
||||||
|
|
||||||
ForceAheadOfTimeCompilation(subroutine);
|
ForceAheadOfTimeCompilation(subroutine);
|
||||||
|
|
||||||
|
_cache.AddOrUpdate(position, subroutine, ilOpCount);
|
||||||
|
|
||||||
return subroutine;
|
return subroutine;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue