2016-08-11 11:09:21 +00:00
|
|
|
#pragma once
|
|
|
|
#if defined(__arm__) || defined(_M_ARM)
|
2023-04-05 00:46:21 +00:00
|
|
|
#include <Project64-core/N64System/Recompiler/asmjit.h>
|
2022-09-12 13:14:42 +00:00
|
|
|
|
|
|
|
class CCodeBlock;
|
2016-09-30 21:10:44 +00:00
|
|
|
|
2023-04-05 00:46:21 +00:00
|
|
|
class CArmOps :
|
|
|
|
public asmjit::a64::Assembler,
|
|
|
|
public asmjit::Logger
|
2016-08-11 11:09:21 +00:00
|
|
|
{
|
|
|
|
public:
|
2022-10-24 00:45:46 +00:00
|
|
|
CArmOps(CCodeBlock & CodeBlock);
|
2022-09-26 03:23:14 +00:00
|
|
|
|
2016-11-22 10:07:44 +00:00
|
|
|
private:
|
2022-09-12 13:14:42 +00:00
|
|
|
CArmOps(void);
|
2022-10-10 00:22:17 +00:00
|
|
|
CArmOps(const CArmOps &);
|
|
|
|
CArmOps & operator=(const CArmOps &);
|
2022-09-12 13:14:42 +00:00
|
|
|
|
2023-04-05 00:46:21 +00:00
|
|
|
asmjit::Error _log(const char * data, size_t size) noexcept;
|
|
|
|
|
|
|
|
typedef std::map<std::string, std::string> SymbolMap;
|
|
|
|
|
|
|
|
SymbolMap m_Symbols;
|
2022-09-12 13:14:42 +00:00
|
|
|
CCodeBlock & m_CodeBlock;
|
2016-08-11 11:09:21 +00:00
|
|
|
};
|
|
|
|
|
2022-10-24 00:45:46 +00:00
|
|
|
#endif
|