diff options
| author | Jim Grosbach <grosbach@apple.com> | 2010-10-07 20:41:30 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2010-10-07 20:41:30 +0000 |
| commit | 07b5b1802ee5affc49a8956facfd52a9c952095a (patch) | |
| tree | 041622302ccd3f129435c5d3f97b812863337a81 /llvm/lib | |
| parent | ba05c68ce39ea2d082197f599d7ad87b56819387 (diff) | |
| download | bcm5719-llvm-07b5b1802ee5affc49a8956facfd52a9c952095a.tar.gz bcm5719-llvm-07b5b1802ee5affc49a8956facfd52a9c952095a.zip | |
ARM instruction don't have instruction prefixes, so remove the helper functions
for them from the MCCodeEmitter.
llvm-svn: 115975
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp index 56573aa2555..8f7f5ea29a3 100644 --- a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp +++ b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp @@ -13,7 +13,7 @@ #define DEBUG_TYPE "arm-emitter" #include "ARM.h" -#include "ARMInstrInfo.h" +#include "ARMBaseInfo.h" #include "llvm/MC/MCCodeEmitter.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCInst.h" @@ -75,10 +75,6 @@ public: void EncodeInstruction(const MCInst &MI, raw_ostream &OS, 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 @@ -97,17 +93,6 @@ EmitImmediate(const MCOperand &DispOp, unsigned Size, MCFixupKind FixupKind, 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:: EncodeInstruction(const MCInst &MI, raw_ostream &OS, SmallVectorImpl<MCFixup> &Fixups) const { |

