CPU/CodeCache: Re-enable interpreter fallback heuristic

This commit is contained in:
Connor McLaughlin 2021-05-12 13:23:40 +10:00
parent acda42be16
commit 8c7282046b

View file

@ -500,7 +500,7 @@ recompile:
{ {
block->recompile_count++; block->recompile_count++;
if (block->recompile_count >= RECOMPILE_COUNT_TO_FALL_BACK_TO_INTERPRETER&&false) if (block->recompile_count >= RECOMPILE_COUNT_TO_FALL_BACK_TO_INTERPRETER)
{ {
Log_PerfPrintf("Block 0x%08X has been recompiled %u times in %u frames, falling back to interpreter", Log_PerfPrintf("Block 0x%08X has been recompiled %u times in %u frames, falling back to interpreter",
block->GetPC(), block->recompile_count, frame_diff); block->GetPC(), block->recompile_count, frame_diff);