remove deprecated getInstType() method
authorChris Lattner <sabre@nondot.org>
Fri, 10 May 2002 13:28:47 +0000 (13:28 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 May 2002 13:28:47 +0000 (13:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2595 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrForest.h
include/llvm/Instruction.h

index 86b59a6d4f9ab148f4134f7ecc5ebf03ef4f9158..6242dd48f01fd5864b266e2c9373b5fe74fcfa2e 100644 (file)
@@ -37,7 +37,7 @@ class InstrForest;
 //--------------------------------------------------------------------------
 // OpLabel values for special-case nodes created for instruction selection.
 // All op-labels not defined here are identical to the instruction
-// opcode returned by Instruction::getInstType()
+// opcode returned by Instruction::getOpcode()
 //--------------------------------------------------------------------------
 
 const int  InvalidOp   =  -1;
index cf7ce7dd50dd5b71d2aba9bff98cdb9c210e675d..9ab6f8a1064cddaf00a00018a89219f81cb2a3d5 100644 (file)
@@ -40,15 +40,12 @@ public:
   virtual bool hasSideEffects() const { return false; }  // Memory & Call insts
 
   // ---------------------------------------------------------------------------
-  // Subclass classification... getInstType() returns a member of 
+  // Subclass classification... getOpcode() returns a member of 
   // one of the enums that is coming soon (down below)...
   //
   virtual const char *getOpcodeName() const = 0;
   unsigned getOpcode() const { return iType; }
 
-  // getInstType is deprecated, use getOpcode() instead.
-  unsigned getInstType() const { return iType; }
-
   inline bool isTerminator() const {   // Instance of TerminatorInst?
     return iType >= FirstTermOp && iType < NumTermOps;
   }