From eb7f4dac507c22da73dd57a8ad008b5d1d4382b1 Mon Sep 17 00:00:00 2001 From: comex Date: Thu, 16 Oct 2014 22:21:55 -0400 Subject: Convert registersInUse to BitSet. --- Source/Core/VideoCommon/VertexLoader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/VertexLoader.cpp') diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index 291bb94c62..e4974a8b2b 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -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 } -- cgit v1.2.3