mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
ARM instruction don't have instruction prefixes, so remove the helper functions
for them from the MCCodeEmitter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
069594a94f
commit
ae93ed1dd7
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#define DEBUG_TYPE "arm-emitter"
|
#define DEBUG_TYPE "arm-emitter"
|
||||||
#include "ARM.h"
|
#include "ARM.h"
|
||||||
#include "ARMInstrInfo.h"
|
#include "ARMBaseInfo.h"
|
||||||
#include "llvm/MC/MCCodeEmitter.h"
|
#include "llvm/MC/MCCodeEmitter.h"
|
||||||
#include "llvm/MC/MCExpr.h"
|
#include "llvm/MC/MCExpr.h"
|
||||||
#include "llvm/MC/MCInst.h"
|
#include "llvm/MC/MCInst.h"
|
||||||
@ -75,10 +75,6 @@ public:
|
|||||||
|
|
||||||
void EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
void EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
||||||
SmallVectorImpl<MCFixup> &Fixups) const;
|
SmallVectorImpl<MCFixup> &Fixups) const;
|
||||||
|
|
||||||
void EmitOpcodePrefix(uint64_t TSFlags, unsigned &CurByte, int MemOperand,
|
|
||||||
const MCInst &MI, const TargetInstrDesc &Desc,
|
|
||||||
raw_ostream &OS) const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
@ -97,17 +93,6 @@ EmitImmediate(const MCOperand &DispOp, unsigned Size, MCFixupKind FixupKind,
|
|||||||
assert(0 && "ARMMCCodeEmitter::EmitImmediate() not yet implemented.");
|
assert(0 && "ARMMCCodeEmitter::EmitImmediate() not yet implemented.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// EmitOpcodePrefix - Emit all instruction prefixes prior to the opcode.
|
|
||||||
///
|
|
||||||
/// MemOperand is the operand # of the start of a memory operand if present. If
|
|
||||||
/// Not present, it is -1.
|
|
||||||
void ARMMCCodeEmitter::EmitOpcodePrefix(uint64_t TSFlags, unsigned &CurByte,
|
|
||||||
int MemOperand, const MCInst &MI,
|
|
||||||
const TargetInstrDesc &Desc,
|
|
||||||
raw_ostream &OS) const {
|
|
||||||
assert(0 && "ARMMCCodeEmitter::EmitOpcodePrefix() not yet implemented.");
|
|
||||||
}
|
|
||||||
|
|
||||||
void ARMMCCodeEmitter::
|
void ARMMCCodeEmitter::
|
||||||
EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
||||||
SmallVectorImpl<MCFixup> &Fixups) const {
|
SmallVectorImpl<MCFixup> &Fixups) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user