From 092e2cd5693114a4f1d93eb5b72f3e194de27236 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Fri, 10 Dec 2010 23:41:10 +0000 Subject: [PATCH] Add FIXME git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121598 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMMCCodeEmitter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/ARM/ARMMCCodeEmitter.cpp b/lib/Target/ARM/ARMMCCodeEmitter.cpp index 0bca50eb349..833bd22c748 100644 --- a/lib/Target/ARM/ARMMCCodeEmitter.cpp +++ b/lib/Target/ARM/ARMMCCodeEmitter.cpp @@ -495,6 +495,8 @@ getThumbCBTargetOpValue(const MCInst &MI, unsigned OpIdx, uint32_t ARMMCCodeEmitter:: getBranchTargetOpValue(const MCInst &MI, unsigned OpIdx, SmallVectorImpl &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(); if (Subtarget.isThumb2()) return ::getBranchTargetOpValue(MI, OpIdx, ARM::fixup_t2_branch, Fixups); -- 2.34.1