diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-26 17:45:29 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-26 17:45:29 +0000 |
commit | 84882528551bd816464a0657ad581c1fed0ac865 (patch) | |
tree | 483c96ea4265e5fb548ab478f325cb1458f6e7d7 /include | |
parent | b21a758bc232fcecdaca4fbc05334bb5b79cdad1 (diff) | |
download | llvm-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.h | 5 |
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. |