aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCAsmParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-15 19:39:23 +0000
committerChris Lattner <sabre@nondot.org>2010-01-15 19:39:23 +0000
commit2ca686df56a4974633ccaedfb925adaa2ca8b05a (patch)
treee1347f01f96931e2824b836b23c77311ddda77cb /include/llvm/MC/MCAsmParser.h
parent80cc03a4e80d99ed72bae6389cc880b0ce0de72f (diff)
downloadexternal_llvm-2ca686df56a4974633ccaedfb925adaa2ca8b05a.zip
external_llvm-2ca686df56a4974633ccaedfb925adaa2ca8b05a.tar.gz
external_llvm-2ca686df56a4974633ccaedfb925adaa2ca8b05a.tar.bz2
fix a bug in range information for $42, eliminate an
unneeded argument from ParseExpression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmParser.h')
-rw-r--r--include/llvm/MC/MCAsmParser.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/MC/MCAsmParser.h b/include/llvm/MC/MCAsmParser.h
index a3c10f9..f1ce323 100644
--- a/include/llvm/MC/MCAsmParser.h
+++ b/include/llvm/MC/MCAsmParser.h
@@ -55,8 +55,7 @@ public:
/// @param Res - The value of the expression. The result is undefined
/// on error.
/// @result - False on success.
- virtual bool ParseExpression(const MCExpr *&Res,
- SMLoc &StartLoc, SMLoc &EndLoc) = 0;
+ virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
bool ParseExpression(const MCExpr *&Res);
/// ParseParenExpression - Parse an arbitrary expression, assuming that an