Changes in directory llvm/include/llvm:
Instruction.h updated: 1.70 -> 1.71 --- Log message: This method doesn't need to be virtual, thanks to Reid for pointing this out. --- Diffs of the changes: (+1 -1) Instruction.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Instruction.h diff -u llvm/include/llvm/Instruction.h:1.70 llvm/include/llvm/Instruction.h:1.71 --- llvm/include/llvm/Instruction.h:1.70 Fri Dec 16 18:19:22 2005 +++ llvm/include/llvm/Instruction.h Tue May 9 12:29:17 2006 @@ -106,7 +106,7 @@ /// 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); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits