mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Remove the last traces of the NOT instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3346 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8decbcbbfe
commit
c5b74477c0
@ -25,20 +25,6 @@
|
||||
#define LAST_TERM_INST(num)
|
||||
#endif
|
||||
|
||||
#ifndef FIRST_UNARY_INST
|
||||
#define FIRST_UNARY_INST(num)
|
||||
#endif
|
||||
#ifndef HANDLE_UNARY_INST
|
||||
#ifndef HANDLE_INST
|
||||
#define HANDLE_UNARY_INST(num, opcode, Class)
|
||||
#else
|
||||
#define HANDLE_UNARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
|
||||
#endif
|
||||
#endif
|
||||
#ifndef LAST_UNARY_INST
|
||||
#define LAST_UNARY_INST(num)
|
||||
#endif
|
||||
|
||||
#ifndef FIRST_BINARY_INST
|
||||
#define FIRST_BINARY_INST(num)
|
||||
#endif
|
||||
@ -93,11 +79,6 @@ HANDLE_TERM_INST ( 3, Switch, SwitchInst)
|
||||
HANDLE_TERM_INST ( 4, Invoke, InvokeInst)
|
||||
LAST_TERM_INST ( 4)
|
||||
|
||||
// The single unary instruction... a binary inverse.
|
||||
FIRST_UNARY_INST ( 5)
|
||||
HANDLE_UNARY_INST ( 5, Not , GenericBinaryInst) // THIS IS WRONG. *REMOVEME*
|
||||
LAST_UNARY_INST ( 5)
|
||||
|
||||
// Standard binary operators...
|
||||
FIRST_BINARY_INST( 6)
|
||||
HANDLE_BINARY_INST( 6, Add , GenericBinaryInst)
|
||||
@ -147,10 +128,6 @@ HANDLE_OTHER_INST(32, UserOp2, Instruction)
|
||||
#undef HANDLE_TERM_INST
|
||||
#undef LAST_TERM_INST
|
||||
|
||||
#undef FIRST_UNARY_INST
|
||||
#undef HANDLE_UNARY_INST
|
||||
#undef LAST_UNARY_INST
|
||||
|
||||
#undef FIRST_BINARY_INST
|
||||
#undef HANDLE_BINARY_INST
|
||||
#undef LAST_BINARY_INST
|
||||
|
@ -90,13 +90,6 @@ public:
|
||||
#include "llvm/Instruction.def"
|
||||
};
|
||||
|
||||
enum UnaryOps {
|
||||
#define FIRST_UNARY_INST(N) FirstUnaryOp = N,
|
||||
#define HANDLE_UNARY_INST(N, OPC, CLASS) OPC = N,
|
||||
#define LAST_UNARY_INST(N) NumUnaryOps = N+1,
|
||||
#include "llvm/Instruction.def"
|
||||
};
|
||||
|
||||
enum BinaryOps {
|
||||
#define FIRST_BINARY_INST(N) FirstBinaryOp = N,
|
||||
#define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N,
|
||||
|
Loading…
Reference in New Issue
Block a user