Unbreak PseudoSourceValue::print. This fixes -print-machine-instrs
authorDan Gohman <gohman@apple.com>
Wed, 27 Aug 2008 15:24:43 +0000 (15:24 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 27 Aug 2008 15:24:43 +0000 (15:24 +0000)
and various other things.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55415 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/PseudoSourceValue.h

index 7e805ab5ecd11042a84c7b2566855d85c32a4359..dccf735ed029e8ca87fa2d59501798cf0df0a026 100644 (file)
@@ -28,7 +28,7 @@ namespace llvm {
   public:
     PseudoSourceValue();
 
-    void print(raw_ostream &OS) const;
+    virtual void print(raw_ostream &OS) const;
 
     /// isConstant - Test whether this PseudoSourceValue has a constant value.
     ///