Skip to content

Commit

Permalink
Cherry picked commit 'replace hardcoded literal with its appropriate …
Browse files Browse the repository at this point in the history
…symbol' from tevador/RandomX@a7733de
  • Loading branch information
codeofalltrades committed Jan 20, 2021
1 parent 94ce75a commit db1b07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/randomx/jit_compiler_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit db1b07e

Please sign in to comment.