mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
*** empty log message ***
llvm-svn: 3082
This commit is contained in:
parent
236035cb2f
commit
b57916c8de
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user