Restore 'nice name' to pass
authorChris Lattner <sabre@nondot.org>
Thu, 14 Aug 2003 14:43:24 +0000 (14:43 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 14 Aug 2003 14:43:24 +0000 (14:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7840 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9PeepholeOpts.cpp

index 3912f4e7629c5e75e059f1107276aa36e58ce3a9..c965dae6ff890bf45532cb66f6301b6035d1eeee 100644 (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