diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-12-17 01:07:35 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-12-17 01:07:35 +0000 |
commit | 2d8e3e741f49baadfc72403de9c4b362a07af8d9 (patch) | |
tree | 69cf4281bc36813c964a0ab60a45843167a89f06 /lib/MC/MCExpr.cpp | |
parent | 92c66c7bf9533d0ab7cece9532c5060e7d3db6ca (diff) | |
download | llvm-2d8e3e741f49baadfc72403de9c4b362a07af8d9.tar.gz llvm-2d8e3e741f49baadfc72403de9c4b362a07af8d9.tar.bz2 llvm-2d8e3e741f49baadfc72403de9c4b362a07af8d9.tar.xz |
MC: Remove another dead MCAssembler argument, and update clients.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCExpr.cpp')
-rw-r--r-- | lib/MC/MCExpr.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp index eb556937b6..b667369172 100644 --- a/lib/MC/MCExpr.cpp +++ b/lib/MC/MCExpr.cpp @@ -237,27 +237,7 @@ void MCTargetExpr::Anchor() {} /* *** */ -bool MCExpr::EvaluateAsAbsolute(int64_t &Res) const { - return EvaluateAsAbsolute(Res, 0, 0, 0); -} - -bool MCExpr::EvaluateAsAbsolute(int64_t &Res, - const MCAsmLayout &Layout) const { - return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, 0); -} - -bool MCExpr::EvaluateAsAbsolute(int64_t &Res, - const MCAsmLayout &Layout, - const SectionAddrMap &Addrs) const { - return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); -} - -bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { - return EvaluateAsAbsolute(Res, &Asm, 0, 0); -} - -bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, - const MCAsmLayout *Layout, +bool MCExpr::EvaluateAsAbsolute(int64_t &Res, const MCAsmLayout *Layout, const SectionAddrMap *Addrs) const { MCValue Value; |