X86: Fix for uninitialized variables in stacktrace code.
--HG-- extra : convert_revision : d19a03d8c14eb93a99f2c1838a9caa1286804c81
This commit is contained in:
@@ -154,12 +154,15 @@ namespace X86ISA
|
||||
bool
|
||||
StackTrace::decodeStack(MachInst inst, int &disp)
|
||||
{
|
||||
disp = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
StackTrace::decodeSave(MachInst inst, int ®, int &disp)
|
||||
{
|
||||
reg = 0;
|
||||
disp = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user