mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Fix missing const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212168 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -635,7 +635,7 @@ public:
|
|||||||
void print(raw_ostream &OS, SlotIndexes* = nullptr) const;
|
void print(raw_ostream &OS, SlotIndexes* = nullptr) const;
|
||||||
|
|
||||||
// Printing method used by LoopInfo.
|
// Printing method used by LoopInfo.
|
||||||
void printAsOperand(raw_ostream &OS, bool PrintType = true);
|
void printAsOperand(raw_ostream &OS, bool PrintType = true) const;
|
||||||
|
|
||||||
/// getNumber - MachineBasicBlocks are uniquely numbered at the function
|
/// getNumber - MachineBasicBlocks are uniquely numbered at the function
|
||||||
/// level, unless they're not in a MachineFunction yet, in which case this
|
/// level, unless they're not in a MachineFunction yet, in which case this
|
||||||
|
@@ -332,7 +332,7 @@ void MachineBasicBlock::print(raw_ostream &OS, SlotIndexes *Indexes) const {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MachineBasicBlock::printAsOperand(raw_ostream &OS, bool /*PrintType*/) {
|
void MachineBasicBlock::printAsOperand(raw_ostream &OS, bool /*PrintType*/) const {
|
||||||
OS << "BB#" << getNumber();
|
OS << "BB#" << getNumber();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user