Jelajahi Sumber

Fixed stats compilation

tevador 7 tahun lalu
induk
melakukan
00368cae02
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/InterpretedVirtualMachine.hpp

+ 1 - 1
src/InterpretedVirtualMachine.hpp

@@ -121,7 +121,7 @@ namespace RandomX {
 		int count_retdepth = 0;
 		int count_retdepth_max = 0;
 		int count_endstack = 0;
-		int count_instructions[ProgramLength] = { 0 };
+		int count_instructions[RANDOMX_PROGRAM_SIZE] = { 0 };
 		int count_FADD_nop = 0;
 		int count_FADD_nop2 = 0;
 		int count_FSUB_nop = 0;