mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Print is const!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b49394f4f
commit
af55be15df
@ -347,7 +347,7 @@ public:
|
||||
//
|
||||
// Debugging support
|
||||
//
|
||||
void print(std::ostream &OS, const TargetMachine &TM);
|
||||
void print(std::ostream &OS, const TargetMachine &TM) const;
|
||||
void dump() const;
|
||||
friend std::ostream& operator<<(std::ostream& os, const MachineInstr& minstr);
|
||||
|
||||
|
@ -268,7 +268,7 @@ static void print(const MachineOperand &MO, std::ostream &OS,
|
||||
OS << ")";
|
||||
}
|
||||
|
||||
void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) {
|
||||
void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) const {
|
||||
unsigned StartOp = 0;
|
||||
|
||||
// Specialize printing if op#0 is definition
|
||||
|
Loading…
x
Reference in New Issue
Block a user