mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Make Print callable from a pass's print method: add const qualifier. No
functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
26d6e21c53
commit
1d9887054a
@ -138,7 +138,7 @@ public:
|
|||||||
///
|
///
|
||||||
void Solve(Function &F);
|
void Solve(Function &F);
|
||||||
|
|
||||||
void Print(Function &F, std::ostream &OS);
|
void Print(Function &F, std::ostream &OS) const;
|
||||||
|
|
||||||
/// getLatticeState - Return the LatticeVal object that corresponds to the
|
/// getLatticeState - Return the LatticeVal object that corresponds to the
|
||||||
/// value. If an value is not in the map, it is returned as untracked,
|
/// value. If an value is not in the map, it is returned as untracked,
|
||||||
|
@ -310,7 +310,7 @@ void SparseSolver::Solve(Function &F) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SparseSolver::Print(Function &F, std::ostream &OS) {
|
void SparseSolver::Print(Function &F, std::ostream &OS) const {
|
||||||
OS << "\nFUNCTION: " << F.getNameStr() << "\n";
|
OS << "\nFUNCTION: " << F.getNameStr() << "\n";
|
||||||
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
||||||
if (!BBExecutable.count(BB))
|
if (!BBExecutable.count(BB))
|
||||||
|
Loading…
Reference in New Issue
Block a user