commit | e00b011e6a2597fcc3da88da91a8ffda6eebfcda | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Oct 16 01:57:52 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Oct 16 01:57:52 2009 +0000 |
tree | 7d4771339ae5e1606e0695f761fb7017f0b5c5c0 | |
parent | 75773ff00da79ecf65e8578cf6f013295a2069cf [diff] [blame] |
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
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp index 02b7c39..436f17d 100644 --- a/tools/llvm-mc/AsmParser.cpp +++ b/tools/llvm-mc/AsmParser.cpp
@@ -292,7 +292,7 @@ if (ParseExpression(Expr)) return true; - if (!Expr->EvaluateAsAbsolute(Ctx, Res)) + if (!Expr->EvaluateAsAbsolute(Res)) return Error(StartLoc, "expected absolute expression"); return false;