1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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 486e0660b7
commit adef4bbf27

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);