mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Add FIXME
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a0bb037283
commit
092e2cd569
@ -495,6 +495,8 @@ getThumbCBTargetOpValue(const MCInst &MI, unsigned OpIdx,
|
|||||||
uint32_t ARMMCCodeEmitter::
|
uint32_t ARMMCCodeEmitter::
|
||||||
getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
|
getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx,
|
||||||
SmallVectorImpl<MCFixup> &Fixups) const {
|
SmallVectorImpl<MCFixup> &Fixups) const {
|
||||||
|
// FIXME: This really, really shouldn't use TargetMachine. We don't want
|
||||||
|
// coupling between MC and TM anywhere we can help it.
|
||||||
const ARMSubtarget &Subtarget = TM.getSubtarget<ARMSubtarget>();
|
const ARMSubtarget &Subtarget = TM.getSubtarget<ARMSubtarget>();
|
||||||
if (Subtarget.isThumb2())
|
if (Subtarget.isThumb2())
|
||||||
return ::getBranchTargetOpValue(MI, OpIdx, ARM::fixup_t2_branch, Fixups);
|
return ::getBranchTargetOpValue(MI, OpIdx, ARM::fixup_t2_branch, Fixups);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user