mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 09:39:46 -06:00
Common/JitRegister: Move interface into Common namespace
Makes the namespace consistent with other common utilities.
This commit is contained in:
@ -36,7 +36,7 @@ static op_agent_t s_agent = nullptr;
|
||||
|
||||
static File::IOFile s_perf_map_file;
|
||||
|
||||
namespace JitRegister
|
||||
namespace Common::JitRegister
|
||||
{
|
||||
static bool s_is_enabled = false;
|
||||
|
||||
@ -108,4 +108,4 @@ void Register(const void* base_address, u32 code_size, const std::string& symbol
|
||||
const auto entry = fmt::format("{} {:x} {}\n", fmt::ptr(base_address), code_size, symbol_name);
|
||||
s_perf_map_file.WriteBytes(entry.data(), entry.size());
|
||||
}
|
||||
} // namespace JitRegister
|
||||
} // namespace Common::JitRegister
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
namespace JitRegister
|
||||
namespace Common::JitRegister
|
||||
{
|
||||
void Init(const std::string& perf_dir);
|
||||
void Shutdown();
|
||||
@ -30,4 +30,4 @@ inline void Register(const void* start, const void* end, fmt::format_string<Args
|
||||
u32 code_size = (u32)((const char*)end - (const char*)start);
|
||||
Register(start, code_size, fmt::format(format, std::forward<Args>(args)...));
|
||||
}
|
||||
} // namespace JitRegister
|
||||
} // namespace Common::JitRegister
|
||||
|
Reference in New Issue
Block a user