1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 13:42:54 -05:00

Build whole CryptonightR_gen.cpp only if ASM used.

This commit is contained in:
XMRig
2019-03-03 17:33:27 +07:00
parent d135bdd87e
commit 4ebfc135e0
3 changed files with 1 additions and 5 deletions

View File

@@ -31,7 +31,6 @@ typedef void(*void_func)();
#include "crypto/asm/CryptonightR_template.h"
#include "Mem.h"
#if !defined XMRIG_ARM && !defined XMRIG_NO_ASM
static inline void add_code(uint8_t* &p, void (*p1)(), void (*p2)())
{
@@ -186,5 +185,3 @@ void v4_soft_aes_compile_code(const V4_Instruction* code, int code_size, void* m
Mem::flushInstructionCache(machine_code, p - p0);
}
#endif