mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Remove support for NOT instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e489aa563c
commit
20e8e01c5d
@ -256,7 +256,6 @@ namespace {
|
||||
void visitBranchInst(BranchInst &I);
|
||||
|
||||
void visitPHINode(PHINode &I) {}
|
||||
void visitNot(GenericUnaryInst &I);
|
||||
void visitBinaryOperator(Instruction &I);
|
||||
|
||||
void visitCastInst (CastInst &I);
|
||||
@ -637,11 +636,6 @@ void CWriter::visitBranchInst(BranchInst &I) {
|
||||
}
|
||||
|
||||
|
||||
void CWriter::visitNot(GenericUnaryInst &I) {
|
||||
Out << "~";
|
||||
writeOperand(I.getOperand(0));
|
||||
}
|
||||
|
||||
void CWriter::visitBinaryOperator(Instruction &I) {
|
||||
// binary instructions, shift instructions, setCond instructions.
|
||||
if (isa<PointerType>(I.getType())) {
|
||||
|
@ -256,7 +256,6 @@ namespace {
|
||||
void visitBranchInst(BranchInst &I);
|
||||
|
||||
void visitPHINode(PHINode &I) {}
|
||||
void visitNot(GenericUnaryInst &I);
|
||||
void visitBinaryOperator(Instruction &I);
|
||||
|
||||
void visitCastInst (CastInst &I);
|
||||
@ -637,11 +636,6 @@ void CWriter::visitBranchInst(BranchInst &I) {
|
||||
}
|
||||
|
||||
|
||||
void CWriter::visitNot(GenericUnaryInst &I) {
|
||||
Out << "~";
|
||||
writeOperand(I.getOperand(0));
|
||||
}
|
||||
|
||||
void CWriter::visitBinaryOperator(Instruction &I) {
|
||||
// binary instructions, shift instructions, setCond instructions.
|
||||
if (isa<PointerType>(I.getType())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user