mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
replace hardcoded literal with its appropriate symbol
This commit is contained in:
parent
7741eb1e97
commit
a7733de1e7
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ namespace randomx {
|
||||||
|
|
||||||
void JitCompilerX86::generateProgramPrologue(Program& prog, ProgramConfiguration& pcfg) {
|
void JitCompilerX86::generateProgramPrologue(Program& prog, ProgramConfiguration& pcfg) {
|
||||||
instructionOffsets.clear();
|
instructionOffsets.clear();
|
||||||
for (unsigned i = 0; i < 8; ++i) {
|
for (unsigned i = 0; i < RegistersCount; ++i) {
|
||||||
registerUsage[i] = -1;
|
registerUsage[i] = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue