diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-16 01:57:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-16 01:57:52 +0000 |
commit | 123febf23cf84ced76a714912c4ad4c16712ee9f (patch) | |
tree | 7d4771339ae5e1606e0695f761fb7017f0b5c5c0 /include/llvm | |
parent | 9ce249c9b86d74dec723948d70f533194e750807 (diff) | |
download | external_llvm-123febf23cf84ced76a714912c4ad4c16712ee9f.tar.gz external_llvm-123febf23cf84ced76a714912c4ad4c16712ee9f.tar.bz2 external_llvm-123febf23cf84ced76a714912c4ad4c16712ee9f.zip |
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/llvm')
-rw-r--r-- | include/llvm/MC/MCExpr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h index 19a32e7add..7ae3ba2b17 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; /// @} |