Fixed warning about initialisation order. Also made code layout consistent within this file.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@350 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-27 11:33:45 +00:00
parent bbeca155de
commit c0da275501
1 changed files with 19 additions and 19 deletions

View File

@ -23,10 +23,10 @@
struct SCall
{
SCall(u32 a, u32 b) :
function(a),
callAddress(b)
{}
SCall(u32 a, u32 b) :
function(a),
callAddress(b)
{}
u32 function;
u32 callAddress;
};
@ -38,21 +38,21 @@ struct Symbol
SYMBOL_DATA = 1,
};
Symbol() :
hash(0),
address(0),
flags(0),
size(0),
numCalls(0),
analyzed(0),
type(SYMBOL_FUNCTION)
{}
Symbol() :
hash(0),
address(0),
flags(0),
size(0),
numCalls(0),
type(SYMBOL_FUNCTION),
analyzed(0)
{}
~Symbol()
{
callers.clear();
calls.clear();
}
~Symbol()
{
callers.clear();
calls.clear();
}
std::string name;
std::vector<SCall> callers; //addresses of functions that call this function