mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
For PR387:\
Make only one print method to avoid overloaded virtual warnings when \ compiled with -Woverloaded-virtual git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -169,7 +169,7 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
|
||||
}
|
||||
|
||||
/// print - Implement the dump method.
|
||||
void LiveIntervals::print(std::ostream &O) const {
|
||||
void LiveIntervals::print(std::ostream &O, const Module* ) const {
|
||||
O << "********** INTERVALS **********\n";
|
||||
for (const_iterator I = begin(), E = end(); I != E; ++I)
|
||||
O << " " << I->second << "\n";
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace llvm {
|
||||
virtual bool runOnMachineFunction(MachineFunction&);
|
||||
|
||||
/// print - Implement the dump method.
|
||||
virtual void print(std::ostream &O) const;
|
||||
virtual void print(std::ostream &O, const Module* = 0) const;
|
||||
|
||||
private:
|
||||
/// computeIntervals - compute live intervals
|
||||
|
||||
Reference in New Issue
Block a user