Displaying (unformatted) function code.
This commit is contained in:
32
src/alloy/runtime/debug_info.cc
Normal file
32
src/alloy/runtime/debug_info.cc
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <alloy/runtime/debug_info.h>
|
||||
|
||||
using namespace alloy;
|
||||
using namespace alloy::runtime;
|
||||
|
||||
|
||||
DebugInfo::DebugInfo() :
|
||||
source_disasm_(0),
|
||||
raw_hir_disasm_(0),
|
||||
hir_disasm_(0),
|
||||
raw_lir_disasm_(0),
|
||||
lir_disasm_(0),
|
||||
machine_code_disasm_(0) {
|
||||
}
|
||||
|
||||
DebugInfo::~DebugInfo() {
|
||||
xe_free(source_disasm_);
|
||||
xe_free(raw_hir_disasm_);
|
||||
xe_free(hir_disasm_);
|
||||
xe_free(raw_lir_disasm_);
|
||||
xe_free(lir_disasm_);
|
||||
xe_free(machine_code_disasm_);
|
||||
}
|
||||
Reference in New Issue
Block a user