Create a static version of Instruction::getOpcodeName(opCode) that
[oota-llvm.git] / include / llvm / iOperators.h
index f9cba9f68cada3c472b83e4f1b110432e3d258b4..f9fc88ac41a85a2198a35fffa1bee96dc39e7f25 100644 (file)
@@ -18,8 +18,6 @@ public:
   GenericUnaryInst(UnaryOps Opcode, Value *S1, const std::string &Name = "")
     : UnaryOperator(S1, Opcode, Name) {
   }
-
-  virtual const char *getOpcodeName() const;
 };
 
 //===----------------------------------------------------------------------===//
@@ -35,8 +33,6 @@ public:
                    const std::string &Name = "")
     : BinaryOperator(Opcode, S1, S2, Name) {
   }
-
-  virtual const char *getOpcodeName() const;
 };
 
 class SetCondInst : public BinaryOperator {
@@ -44,8 +40,6 @@ class SetCondInst : public BinaryOperator {
 public:
   SetCondInst(BinaryOps opType, Value *S1, Value *S2, 
              const std::string &Name = "");
-
-  virtual const char *getOpcodeName() const;
 };
 
 #endif