summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-12-17 02:05:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-12-17 02:05:45 +0000
commite491ea46302d2d5d164ce312ed51438880d6e4f3 (patch)
treed97b9c725501b125bbe3ec39ebb3b7041da54c1b /llvm/lib/MC
parent4f64c5aa70b6f432c5f249e665226de0732a91e5 (diff)
downloadbcm5719-llvm-e491ea46302d2d5d164ce312ed51438880d6e4f3.tar.gz
bcm5719-llvm-e491ea46302d2d5d164ce312ed51438880d6e4f3.zip
MC/Expr: Simplify.
llvm-svn: 122023
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MCExpr.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/MC/MCExpr.cpp b/llvm/lib/MC/MCExpr.cpp
index b6673691723..4465104bfe5 100644
--- a/llvm/lib/MC/MCExpr.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud