mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Stop casting away const qualifier needlessly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -754,7 +754,7 @@ void MachineConstantPool::print(raw_ostream &OS) const {
|
||||
if (Constants[i].isMachineConstantPoolEntry())
|
||||
Constants[i].Val.MachineCPVal->print(OS);
|
||||
else
|
||||
OS << *(Value*)Constants[i].Val.ConstVal;
|
||||
OS << *(const Value*)Constants[i].Val.ConstVal;
|
||||
OS << ", align=" << Constants[i].getAlignment();
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user