This method doesn't need to be virtual, thanks to Reid for pointing this out.
authorChris Lattner <sabre@nondot.org>
Tue, 9 May 2006 17:29:17 +0000 (17:29 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 May 2006 17:29:17 +0000 (17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28206 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instruction.h

index 2b025dd8753f0f033cd68afff167583930d6505f..a5df1547405884e09f876fe853471bebb30a6dd7 100644 (file)
@@ -106,7 +106,7 @@ public:
   /// one of the enums that is coming soon (down below)...
   ///
   unsigned getOpcode() const { return getValueType() - InstructionVal; }
-  virtual const char *getOpcodeName() const {
+  const char *getOpcodeName() const {
     return getOpcodeName(getOpcode());
   }
   static const char* getOpcodeName(unsigned OpCode);