summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-26 17:45:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-26 17:45:29 +0000
commit84882528551bd816464a0657ad581c1fed0ac865 (patch)
tree483c96ea4265e5fb548ab478f325cb1458f6e7d7 /include
parentb21a758bc232fcecdaca4fbc05334bb5b79cdad1 (diff)
downloadllvm-84882528551bd816464a0657ad581c1fed0ac865.tar.gz
llvm-84882528551bd816464a0657ad581c1fed0ac865.tar.bz2
llvm-84882528551bd816464a0657ad581c1fed0ac865.tar.xz
MC: Simplify MayNeedRelaxation to not provide the fixups, so we can query it
before encoding. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmBackend.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetAsmBackend.h b/include/llvm/Target/TargetAsmBackend.h
index 527c9e1ea1..7a1689d087 100644
--- a/include/llvm/Target/TargetAsmBackend.h
+++ b/include/llvm/Target/TargetAsmBackend.h
@@ -112,10 +112,7 @@ public:
/// relaxation.
///
/// \arg Inst - The instruction to test.
- /// \arg Fixups - The actual fixups this instruction encoded to, for potential
- /// use by the target backend.
- virtual bool MayNeedRelaxation(const MCInst &Inst,
- const SmallVectorImpl<MCFixup> &Fixups) const = 0;
+ virtual bool MayNeedRelaxation(const MCInst &Inst) const = 0;
/// RelaxInstruction - Relax the instruction in the given fragment to the next
/// wider instruction.