Restore 'nice name' to pass

llvm-svn: 7840
This commit is contained in:
Chris Lattner 2003-08-14 14:43:24 +00:00
parent 8c14ba96ca
commit bf0c0100f6
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class PeepholeOpts: public BasicBlockPass {
public:
PeepholeOpts(const TargetMachine &T): target(T) { }
bool runOnBasicBlock(BasicBlock &BB); // apply this pass to each BB
virtual const char *getPassName() const { return "Peephole Optimization"; }
};
/* Apply a list of peephole optimizations to this machine instruction