diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-12-10 23:41:10 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-12-10 23:41:10 +0000 |
commit | aecdd871da0fd598b96656914a61d024ca91cb1d (patch) | |
tree | 2e86e64cb1f5b372c2533ad920940aef69b10414 /llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp | |
parent | c21f543bc4bab06d0d471ba7ba1ac53ed6609c14 (diff) | |
download | bcm5719-llvm-aecdd871da0fd598b96656914a61d024ca91cb1d.tar.gz bcm5719-llvm-aecdd871da0fd598b96656914a61d024ca91cb1d.zip |
Add FIXME
llvm-svn: 121598
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp b/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp index 0bca50eb349..833bd22c748 100644 --- a/llvm/lib/Target/ARM/ARMMCCodeEmitter.cpp +++ b/llvm/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<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>(); if (Subtarget.isThumb2()) return ::getBranchTargetOpValue(MI, OpIdx, ARM::fixup_t2_branch, Fixups); |