mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix printing of stack id in MachineFrameInfo
uint8_t is printed as a char, so it needs to be casted to do the right thing. llvm-svn: 329622
This commit is contained in:
parent
6a4a0be88f
commit
f45a8841a1
@ -217,7 +217,7 @@ void MachineFrameInfo::print(const MachineFunction &MF, raw_ostream &OS) const{
|
||||
OS << " fi#" << (int)(i-NumFixedObjects) << ": ";
|
||||
|
||||
if (SO.StackID != 0)
|
||||
OS << "id=" << SO.StackID << ' ';
|
||||
OS << "id=" << static_cast<unsigned>(SO.StackID) << ' ';
|
||||
|
||||
if (SO.Size == ~0ULL) {
|
||||
OS << "dead\n";
|
||||
|
Loading…
Reference in New Issue
Block a user