Ver Fonte

Fix JIT fallback

tevador há 7 anos atrás
pai
commit
f1ff014bca
2 ficheiros alterados com 6 adições e 0 exclusões
  1. 3 0
      src/jit_compiler_a64.hpp
  2. 3 0
      src/jit_compiler_fallback.hpp

+ 3 - 0
src/jit_compiler_a64.hpp

@@ -69,5 +69,8 @@ namespace randomx {
 		size_t getCodeSize() {
 			return 0;
 		}
+		void enableWriting() {}
+		void enableExecution() {}
+		void enableAll() {}
 	};
 }

+ 3 - 0
src/jit_compiler_fallback.hpp

@@ -69,5 +69,8 @@ namespace randomx {
 		size_t getCodeSize() {
 			return 0;
 		}
+		void enableWriting() {}
+		void enableExecution() {}
+		void enableAll() {}
 	};
 }