Move the JIT registration logic in its own file
Move the JITed function/basic-block registration logic out of the CPU subsystem in order to add JIT registration to JITed DSP and Video/VertexLoader code. This necessary in order to add /tmp/perf-$pid.map support to other JITed code as they need to write to the same file.
This commit is contained in:
1 parent
cdce5ace25
commit
9722ae2a5d
6 files changed
+138
-75
No files matched your search
@@ -0,0 +1,15 @@
|
||||
// Copyright 2014 Dolphin Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace JitRegister
|
||||
{
|
||||
|
||||
void Init();
|
||||
void Shutdown();
|
||||
void Register(const void* base_address, u32 code_size,
|
||||
const char* name, u32 original_address=0);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user