mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
IR interpreter: Keep blocks' profile stats when the block table grows
JitBlock's move constructor didn't copy profileStats_, so every time the vector of blocks reallocated, all execution counts and times went back to zero, and --jit-profile under the IR interpreter only counted what ran since. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
81e1593eb4
commit
f3eb70aac4
1 file changed
+1
@@ -49,6 +49,7 @@ public:
|
||||
origSize_ = b.origSize_;
|
||||
origFirstOpcode_ = b.origFirstOpcode_;
|
||||
numIRInstructions_ = b.numIRInstructions_;
|
||||
profileStats_ = b.profileStats_;
|
||||
b.entry_ = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user