diff options
| author | JosJuice <josjuice@gmail.com> | 2021-01-24 14:56:38 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-01-26 22:53:33 +0100 |
| commit | d00430470b73888896ee30caed5c1a1a72867c30 (patch) | |
| tree | d6dbeadc2ccfa7153a51c1e73d5825c3ce67e2a1 /Source/Core/Common/File.cpp | |
| parent | f17cd3750a5785033d9f2f9e80e97ee3d0a66ba8 (diff) | |
JitArm64: Update registers last used before start of instruction
Let's reset m_last_used for each register that will be used
in an instruction before we start allocating any of them,
so that one of the earlier allocations doesn't spill a
register that we want in a later allocation. (We must still
also increment/reset m_last_used in R and RW, otherwise we
end up in trouble when emulating lmw/stmw since those access
more guest registers than there are available host registers.)
This should ensure that the asserts added earlier in this
pull request are never triggered.
Diffstat (limited to 'Source/Core/Common/File.cpp')
0 files changed, 0 insertions, 0 deletions
