Merge pull request #188 from cryptonote-social/master

replace hardcoded literal with its appropriate symbol
This commit is contained in:
tevador 2020-06-28 16:36:40 +02:00 committed by GitHub
commit 9905ec9c5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}