[llvm-commits] [llvm] r86198 - /llvm/trunk/include/llvm/CodeGen/AsmPrinter.h

Dan Gohman gohman at apple.com
Thu Nov 5 16:04:06 PST 2009


Author: djg
Date: Thu Nov  5 18:04:05 2009
New Revision: 86198

URL: http://llvm.org/viewvc/llvm-project?rev=86198&view=rev
Log:
Make printImplicitDef and printKill non-virtual, since they don't
need to be overridden.

Modified:
    llvm/trunk/include/llvm/CodeGen/AsmPrinter.h

Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/AsmPrinter.h?rev=86198&r1=86197&r2=86198&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/AsmPrinter.h (original)
+++ llvm/trunk/include/llvm/CodeGen/AsmPrinter.h Thu Nov  5 18:04:05 2009
@@ -373,10 +373,10 @@
 
     /// printImplicitDef - This method prints the specified machine instruction
     /// that is an implicit def.
-    virtual void printImplicitDef(const MachineInstr *MI) const;
+    void printImplicitDef(const MachineInstr *MI) const;
 
     /// printKill - This method prints the specified kill machine instruction.
-    virtual void printKill(const MachineInstr *MI) const;
+    void printKill(const MachineInstr *MI) const;
 
     /// printPICJumpTableSetLabel - This method prints a set label for the
     /// specified MachineBasicBlock for a jumptable entry.





More information about the llvm-commits mailing list