projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d37c6
)
This method doesn't need to be virtual, thanks to Reid for pointing this out.
author
Chris Lattner
<sabre@nondot.org>
Tue, 9 May 2006 17:29:17 +0000
(17:29 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 9 May 2006 17:29:17 +0000
(17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28206
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Instruction.h
patch
|
blob
|
history
diff --git
a/include/llvm/Instruction.h
b/include/llvm/Instruction.h
index 2b025dd8753f0f033cd68afff167583930d6505f..a5df1547405884e09f876fe853471bebb30a6dd7 100644
(file)
--- a/
include/llvm/Instruction.h
+++ b/
include/llvm/Instruction.h
@@
-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);