Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 41b51a4

Browse files
committed
Cleaned up legacy code
1 parent 360c8ed commit 41b51a4

16 files changed

+6
-657
lines changed

src/allocator.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ You should have received a copy of the GNU General Public License
1717
along with RandomX. If not, see<http://www.gnu.org/licenses/>.
1818
*/
1919

20-
#pragma once
21-
2220
#include "allocator.hpp"
2321
#include "intrin_portable.h"
2422
#include "virtual_memory.hpp"
@@ -36,10 +34,8 @@ namespace randomx {
3634
_mm_free(ptr);
3735
}
3836

39-
template void* AlignedAllocator<CacheLineSize>::allocMemory(size_t count);
40-
template void AlignedAllocator<CacheLineSize>::freeMemory(void* ptr, size_t count);
41-
template void* AlignedAllocator<sizeof(__m128i)>::allocMemory(size_t count);
42-
template void AlignedAllocator<sizeof(__m128i)>::freeMemory(void* ptr, size_t count);
37+
template class AlignedAllocator<CacheLineSize>;
38+
template class AlignedAllocator<sizeof(__m128i)>;;
4339

4440
void* LargePageAllocator::allocMemory(size_t count) {
4541
return allocLargePagesMemory(count);

src/asm/initBlock.inc

Lines changed: 0 additions & 155 deletions
This file was deleted.

src/asm/program_prologue_load.inc

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/asm/program_read_dataset_light_sub.inc

Lines changed: 0 additions & 171 deletions
This file was deleted.

0 commit comments

Comments
 (0)