summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-03-19 07:09:47 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-03-19 07:09:47 +0000
commitb1e98945e4b107eb3f2ac1b54706c49864842dc4 (patch)
tree62831961f697a1dd1ac0673c8570daf187627540 /include
parentbacba997782f624d3c43591a913b8f1e3d733a52 (diff)
downloadllvm-b1e98945e4b107eb3f2ac1b54706c49864842dc4.tar.gz
llvm-b1e98945e4b107eb3f2ac1b54706c49864842dc4.tar.bz2
llvm-b1e98945e4b107eb3f2ac1b54706c49864842dc4.tar.xz
MC/Mach-O: Lift the fixup evaluation and application up (to the same place), and eliminate MCAsmFixup::FixedValue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAssembler.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h
index 0c1d810bf9..1c21bbaf32 100644
--- a/include/llvm/MC/MCAssembler.h
+++ b/include/llvm/MC/MCAssembler.h
@@ -45,14 +45,9 @@ struct MCAsmFixup {
/// Kind - The fixup kind.
MCFixupKind Kind;
- /// FixedValue - The value to replace the fix up by.
- //
- // FIXME: This should not be here.
- uint64_t FixedValue;
-
public:
MCAsmFixup(uint64_t _Offset, const MCExpr &_Value, MCFixupKind _Kind)
- : Offset(_Offset), Value(&_Value), Kind(_Kind), FixedValue(0) {}
+ : Offset(_Offset), Value(&_Value), Kind(_Kind) {}
};
class MCFragment : public ilist_node<MCFragment> {