diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-12-17 02:05:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-12-17 02:05:45 +0000 |
commit | 8f714fedba35bc454ff372f084090f14a25c8933 (patch) | |
tree | fe67b7b329b0343d06fcf05dbd22b641eeeff25c /lib/MC/MCExpr.cpp | |
parent | 90675c882d50e420153039c0c013c4ec0f78dc67 (diff) |
MC/Expr: Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCExpr.cpp')
-rw-r--r-- | lib/MC/MCExpr.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/MC/MCExpr.cpp b/lib/MC/MCExpr.cpp index b667369172..4465104bfe 100644 --- a/lib/MC/MCExpr.cpp +++ b/lib/MC/MCExpr.cpp @@ -355,14 +355,6 @@ static bool EvaluateSymbolicAdd(const MCAsmLayout *Layout, return true; } -bool MCExpr::EvaluateAsRelocatable(MCValue &Res, - const MCAsmLayout *Layout) const { - if (Layout) - return EvaluateAsRelocatableImpl(Res, Layout, 0, false); - else - return EvaluateAsRelocatableImpl(Res, 0, 0, false); -} - bool MCExpr::EvaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const SectionAddrMap *Addrs, |