diff options
| author | comex <comexk@gmail.com> | 2014-10-16 22:21:55 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-10-25 16:57:25 -0400 |
| commit | eb7f4dac507c22da73dd57a8ad008b5d1d4382b1 (patch) | |
| tree | 422cc5f97ad7267017c35b68142bc73274d15920 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | b6a74380537305ef33ce12e952bde0155e4a57b3 (diff) | |
Convert registersInUse to BitSet.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |
