Moving PPC disasm to on-demand in debugger.
This commit is contained in:
@@ -19,15 +19,15 @@ namespace backend {
|
||||
namespace x64 {
|
||||
|
||||
X64Function::X64Function(FunctionInfo* symbol_info)
|
||||
: Function(symbol_info), machine_code_(nullptr), code_size_(0) {}
|
||||
: Function(symbol_info), machine_code_(nullptr), machine_code_length_(0) {}
|
||||
|
||||
X64Function::~X64Function() {
|
||||
// machine_code_ is freed by code cache.
|
||||
}
|
||||
|
||||
void X64Function::Setup(void* machine_code, size_t code_size) {
|
||||
void X64Function::Setup(uint8_t* machine_code, size_t machine_code_length) {
|
||||
machine_code_ = machine_code;
|
||||
code_size_ = code_size;
|
||||
machine_code_length_ = machine_code_length;
|
||||
}
|
||||
|
||||
bool X64Function::AddBreakpointImpl(debug::Breakpoint* breakpoint) {
|
||||
|
||||
Reference in New Issue
Block a user