From ffec42140860714a19a2fcb0623a067c453eacc3 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sun, 8 Dec 2019 16:20:46 +0100 Subject: [PATCH] Fixed indentation --- src/crypto/randomx/jit_compiler_x86.cpp | 8 ++++---- src/crypto/randomx/jit_compiler_x86_static.hpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/crypto/randomx/jit_compiler_x86.cpp b/src/crypto/randomx/jit_compiler_x86.cpp index 082b9eb3..2528c2cf 100644 --- a/src/crypto/randomx/jit_compiler_x86.cpp +++ b/src/crypto/randomx/jit_compiler_x86.cpp @@ -305,12 +305,12 @@ namespace randomx { uint8_t* p; uint32_t n; if (flags & RANDOMX_FLAG_RYZEN) { - p = RandomX_CurrentConfig.codeReadDatasetRyzenTweaked; - n = RandomX_CurrentConfig.codeReadDatasetRyzenTweakedSize; + p = RandomX_CurrentConfig.codeReadDatasetRyzenTweaked; + n = RandomX_CurrentConfig.codeReadDatasetRyzenTweakedSize; } else { - p = RandomX_CurrentConfig.codeReadDatasetTweaked; - n = RandomX_CurrentConfig.codeReadDatasetTweakedSize; + p = RandomX_CurrentConfig.codeReadDatasetTweaked; + n = RandomX_CurrentConfig.codeReadDatasetTweakedSize; } memcpy(code + codePos, p, n); codePos += n; diff --git a/src/crypto/randomx/jit_compiler_x86_static.hpp b/src/crypto/randomx/jit_compiler_x86_static.hpp index 151c1c58..b0a7c5ac 100644 --- a/src/crypto/randomx/jit_compiler_x86_static.hpp +++ b/src/crypto/randomx/jit_compiler_x86_static.hpp @@ -37,7 +37,7 @@ extern "C" { void randomx_program_loop_load(); void randomx_program_start(); void randomx_program_read_dataset(); - void randomx_program_read_dataset_ryzen(); + void randomx_program_read_dataset_ryzen(); void randomx_program_read_dataset_sshash_init(); void randomx_program_read_dataset_sshash_fin(); void randomx_program_loop_store();