mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Convert registersInUse to BitSet.
This commit is contained in:
@ -141,7 +141,7 @@ void VertexLoader::CompileVertexTranslator()
|
||||
|
||||
m_compiledCode = GetCodePtr();
|
||||
// We only use RAX (caller saved) and RBX (callee saved).
|
||||
ABI_PushRegistersAndAdjustStack(1 << RBX, 8);
|
||||
ABI_PushRegistersAndAdjustStack({RBX}, 8);
|
||||
|
||||
// save count
|
||||
MOV(64, R(RBX), R(ABI_PARAM1));
|
||||
@ -402,7 +402,7 @@ void VertexLoader::CompileVertexTranslator()
|
||||
SUB(64, R(RBX), Imm8(1));
|
||||
|
||||
J_CC(CC_NZ, loop_start);
|
||||
ABI_PopRegistersAndAdjustStack(1 << RBX, 8);
|
||||
ABI_PopRegistersAndAdjustStack({RBX}, 8);
|
||||
RET();
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user