summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc/AsmParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-23 05:57:07 +0000
committerChris Lattner <sabre@nondot.org>2009-06-23 05:57:07 +0000
commitf97d8bbe738c3545debe116d5ae191e54f6ff611 (patch)
treeb28f7aa37ea8be4fbae4daff15ca8fa279bc91eb /llvm/tools/llvm-mc/AsmParser.h
parent0442e962d997bc5022ea7d03785715f6f2041a8d (diff)
downloadbcm5719-llvm-f97d8bbe738c3545debe116d5ae191e54f6ff611.tar.gz
bcm5719-llvm-f97d8bbe738c3545debe116d5ae191e54f6ff611.zip
implement a trivial binary expression parser, we can now parse all of 176.gcc.llc.s
llvm-svn: 73950
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.h')
-rw-r--r--llvm/tools/llvm-mc/AsmParser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.h b/llvm/tools/llvm-mc/AsmParser.h
index 82eb433b61e..1dadb40ce2b 100644
--- a/llvm/tools/llvm-mc/AsmParser.h
+++ b/llvm/tools/llvm-mc/AsmParser.h
@@ -40,6 +40,7 @@ private:
bool ParseX86MemOperand(X86Operand &Op);
bool ParseExpression(int64_t &Res);
bool ParsePrimaryExpr(int64_t &Res);
+ bool ParseBinOpRHS(unsigned Precedence, int64_t &Res);
bool ParseParenExpr(int64_t &Res);
};
OpenPOWER on IntegriCloud