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 | e00b011e6a2597fcc3da88da91a8ffda6eebfcda (patch) | |
tree | 7d4771339ae5e1606e0695f761fb7017f0b5c5c0 /include/llvm/MC | |
parent | 75773ff00da79ecf65e8578cf6f013295a2069cf (diff) | |
download | external_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/llvm/MC')
-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 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; /// @} |