mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -101,13 +101,12 @@ struct InstVisitor {
|
|||||||
//
|
//
|
||||||
RetTy visit(Instruction &I) {
|
RetTy visit(Instruction &I) {
|
||||||
switch (I.getOpcode()) {
|
switch (I.getOpcode()) {
|
||||||
|
default: assert(0 && "Unknown instruction type encountered!");
|
||||||
|
abort();
|
||||||
// Build the switch statement using the Instruction.def file...
|
// Build the switch statement using the Instruction.def file...
|
||||||
#define HANDLE_INST(NUM, OPCODE, CLASS) \
|
#define HANDLE_INST(NUM, OPCODE, CLASS) \
|
||||||
case Instruction::OPCODE:return ((SubClass*)this)->visit##OPCODE((CLASS&)I);
|
case Instruction::OPCODE:return ((SubClass*)this)->visit##OPCODE((CLASS&)I);
|
||||||
#include "llvm/Instruction.def"
|
#include "llvm/Instruction.def"
|
||||||
|
|
||||||
default: assert(0 && "Unknown instruction type encountered!");
|
|
||||||
abort();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user