mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
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:
15
Source/Core/Common/JitRegister.h
Normal file
15
Source/Core/Common/JitRegister.h
Normal file
@ -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