瀏覽代碼

Fix JIT fallback

tevador 7 年之前
父節點
當前提交
f1ff014bca
共有 2 個文件被更改,包括 6 次插入0 次删除
  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() {}
 	};
 }