summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@gmail.com>2026-02-08 10:42:23 +0100
committerMartino Fontana <tinozzo123@gmail.com>2026-02-15 11:03:02 +0100
commitc9457cf90624aeeda8c13b86e2abc473682f5b17 (patch)
tree386843c262a4a75b55e10c6c8c6238ad41252768 /Source/Core/Common/FileUtil.cpp
parent4e0a4fe5dfeb7892719bf3f7da77197955e62d09 (diff)
Jit: Emit Branch Watch code only if it's enabled
JIT code related to Branch Watch was emitted if the debugging UI was active: the emitted code would dynamically check whether Branch Watch is active. However, this causes two problems: 1. It decreases performance by just having the debugging UI enabled 2. It clutters the host assembly in the JIT tab, making it harder to read (unaware readers will wonder what these instructions are for) With this PR, code related to Branch Watch is emitted only if Branch Watch itself is active, fixing the issues above. The JIT cache will now be wiped whenever the feature is toggled, causing a slight stutter. However, this isn't the kind of feature that is toggled over and over, so IMO it is an acceptable trade-off.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions