aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-16 01:57:52 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-16 01:57:52 +0000
commite00b011e6a2597fcc3da88da91a8ffda6eebfcda (patch)
tree7d4771339ae5e1606e0695f761fb7017f0b5c5c0 /include
parent75773ff00da79ecf65e8578cf6f013295a2069cf (diff)
downloadexternal_llvm-e00b011e6a2597fcc3da88da91a8ffda6eebfcda.zip
external_llvm-e00b011e6a2597fcc3da88da91a8ffda6eebfcda.tar.gz
external_llvm-e00b011e6a2597fcc3da88da91a8ffda6eebfcda.tar.bz2
MC: Remove unneeded context argument to MCExpr::Evaluate*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84233 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCExpr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h
index 19a32e7..7ae3ba2 100644
--- a/include/llvm/MC/MCExpr.h
+++ b/include/llvm/MC/MCExpr.h
@@ -62,14 +62,14 @@ public:
///
/// @param Res - The absolute value, if evaluation succeeds.
/// @result - True on success.
- bool EvaluateAsAbsolute(MCContext &Ctx, int64_t &Res) const;
+ bool EvaluateAsAbsolute(int64_t &Res) const;
/// EvaluateAsRelocatable - Try to evaluate the expression to a relocatable
/// value, i.e. an expression of the fixed form (a - b + constant).
///
/// @param Res - The relocatable value, if evaluation succeeds.
/// @result - True on success.
- bool EvaluateAsRelocatable(MCContext &Ctx, MCValue &Res) const;
+ bool EvaluateAsRelocatable(MCValue &Res) const;
/// @}