diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-10 13:28:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-10 13:28:47 +0000 |
commit | 9f7fab5febc91e38a51fe342549966a69f6d2675 (patch) | |
tree | de0e55d3a4d02c22f33cab965a130724f1cf510e | |
parent | 2c0f3d23ae80da102b45b6efd09a3eaa88d0002e (diff) | |
download | external_llvm-9f7fab5febc91e38a51fe342549966a69f6d2675.zip external_llvm-9f7fab5febc91e38a51fe342549966a69f6d2675.tar.gz external_llvm-9f7fab5febc91e38a51fe342549966a69f6d2675.tar.bz2 |
remove deprecated getInstType() method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2595 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/InstrForest.h | 2 | ||||
-rw-r--r-- | include/llvm/Instruction.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/InstrForest.h b/include/llvm/CodeGen/InstrForest.h index 86b59a6..6242dd4 100644 --- a/include/llvm/CodeGen/InstrForest.h +++ b/include/llvm/CodeGen/InstrForest.h @@ -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; diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index cf7ce7d..9ab6f8a 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -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; } |