mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Arm64Emitter: Fix shadowed variable
A lambda at the end of ARM64XEmitter::ParallelMoves named its parameter `move`.
This commit is contained in:
parent
e140491fa9
commit
de33831783
@ -1809,16 +1809,16 @@ void ARM64XEmitter::ParallelMoves(RegisterMove* begin, RegisterMove* end,
|
|||||||
{
|
{
|
||||||
bool removed_moves_during_this_loop_iteration = false;
|
bool removed_moves_during_this_loop_iteration = false;
|
||||||
|
|
||||||
RegisterMove* move = end;
|
RegisterMove* current_move = end;
|
||||||
while (move != begin)
|
while (current_move != begin)
|
||||||
{
|
{
|
||||||
RegisterMove* prev_move = move;
|
RegisterMove* prev_move = current_move;
|
||||||
--move;
|
--current_move;
|
||||||
if ((*source_gpr_usages)[DecodeReg(move->dst)] == 0)
|
if ((*source_gpr_usages)[DecodeReg(current_move->dst)] == 0)
|
||||||
{
|
{
|
||||||
MOV(move->dst, move->src);
|
MOV(current_move->dst, current_move->src);
|
||||||
(*source_gpr_usages)[DecodeReg(move->src)]--;
|
(*source_gpr_usages)[DecodeReg(current_move->src)]--;
|
||||||
std::move(prev_move, end, move);
|
std::move(prev_move, end, current_move);
|
||||||
--end;
|
--end;
|
||||||
removed_moves_during_this_loop_iteration = true;
|
removed_moves_during_this_loop_iteration = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user