projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b2e80a6
)
*** empty log message ***
author
Chris Lattner
<sabre@nondot.org>
Thu, 25 Jul 2002 15:39:09 +0000
(15:39 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 25 Jul 2002 15:39:09 +0000
(15:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3082
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/InstVisitor.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/InstVisitor.h
b/include/llvm/Support/InstVisitor.h
index 883a6fe4afcb058c8c40cd2ed8be36072641d2ab..1876415f137f2fea84847847ca094d607dc853b8 100644
(file)
--- a/
include/llvm/Support/InstVisitor.h
+++ b/
include/llvm/Support/InstVisitor.h
@@
-101,13
+101,12
@@
struct InstVisitor {
//
RetTy visit(Instruction &I) {
switch (I.getOpcode()) {
+ default: assert(0 && "Unknown instruction type encountered!");
+ abort();
// Build the switch statement using the Instruction.def file...
#define HANDLE_INST(NUM, OPCODE, CLASS) \
case Instruction::OPCODE:return ((SubClass*)this)->visit##OPCODE((CLASS&)I);
#include "llvm/Instruction.def"
-
- default: assert(0 && "Unknown instruction type encountered!");
- abort();
}
}