replace hardcoded literal with its appropriate symbol

This commit is contained in:
cryptonote-social 2020-06-27 09:53:46 -07:00
parent 7741eb1e97
commit a7733de1e7

View File

@ -295,7 +295,7 @@ namespace randomx {
void JitCompilerX86::generateProgramPrologue(Program& prog, ProgramConfiguration& pcfg) {
instructionOffsets.clear();
for (unsigned i = 0; i < 8; ++i) {
for (unsigned i = 0; i < RegistersCount; ++i) {
registerUsage[i] = -1;
}