[llvm-commits] CVS: llvm/include/llvm/Instruction.h
Chris Lattner
lattner at cs.uiuc.edu
Tue May 9 10:29:29 PDT 2006
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);
More information about the llvm-commits
mailing list