From ebe1dbabc18c0d5f080392b0ec574cd638ec41e7 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 27 Aug 2008 15:24:43 +0000 Subject: [PATCH] Unbreak PseudoSourceValue::print. This fixes -print-machine-instrs 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/PseudoSourceValue.h b/include/llvm/CodeGen/PseudoSourceValue.h index 7e805ab5ecd..dccf735ed02 100644 --- a/include/llvm/CodeGen/PseudoSourceValue.h +++ b/include/llvm/CodeGen/PseudoSourceValue.h @@ -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. /// -- 2.34.1