mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
Interface: Forward declare Arm::LocationDescriptor
This commit is contained in:
parent
9ab7626374
commit
411e804b0d
@ -54,7 +54,7 @@ struct Jit::Impl {
|
||||
return routines.RunCode(&jit_state, code_ptr, cycle_count);
|
||||
}
|
||||
|
||||
std::string Disassemble(Arm::LocationDescriptor descriptor) {
|
||||
std::string Disassemble(const Arm::LocationDescriptor& descriptor) {
|
||||
auto block = GetBasicBlock(descriptor);
|
||||
std::string result = Common::StringFromFormat("address: %p\nsize: %zu bytes\n", block->code_ptr, block->size);
|
||||
|
||||
@ -174,7 +174,7 @@ void Jit::SetFpscr(u32 value) const {
|
||||
return impl->jit_state.SetFpscr(value);
|
||||
}
|
||||
|
||||
std::string Jit::Disassemble(Arm::LocationDescriptor descriptor) {
|
||||
std::string Jit::Disassemble(const Arm::LocationDescriptor& descriptor) {
|
||||
return impl->Disassemble(descriptor);
|
||||
}
|
||||
|
||||
|
||||
@ -8,11 +8,14 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "frontend/arm_types.h"
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Dynarmic {
|
||||
|
||||
namespace Arm {
|
||||
struct LocationDescriptor;
|
||||
}
|
||||
|
||||
class Jit;
|
||||
|
||||
/// These function pointers may be inserted into compiled code.
|
||||
@ -82,7 +85,7 @@ public:
|
||||
return is_executing;
|
||||
}
|
||||
|
||||
std::string Disassemble(Arm::LocationDescriptor descriptor);
|
||||
std::string Disassemble(const Arm::LocationDescriptor& descriptor);
|
||||
|
||||
private:
|
||||
bool halt_requested = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user