Jelajahi Sumber

Fix JIT fallback

tevador 7 tahun lalu
induk
melakukan
f1ff014bca
2 mengubah file dengan 6 tambahan dan 0 penghapusan
  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() {}
 	};
 }