This method doesn't need to be virtual, thanks to Reid for pointing this out.

llvm-svn: 28206
This commit is contained in:
Chris Lattner 2006-05-09 17:29:17 +00:00
parent f801792e08
commit 5d779af587
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public:
/// 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);