summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc/AsmParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-22 06:32:03 +0000
committerChris Lattner <sabre@nondot.org>2009-06-22 06:32:03 +0000
commit7fdbce7a6008615c8c72f508eea6a48bc07c2cb9 (patch)
tree4af30b95fcd376578c8399d592aaee3283f5d12a /llvm/tools/llvm-mc/AsmParser.h
parenta7b51ed5e6465492e8a785de33547a3d9793b087 (diff)
downloadbcm5719-llvm-7fdbce7a6008615c8c72f508eea6a48bc07c2cb9.tar.gz
bcm5719-llvm-7fdbce7a6008615c8c72f508eea6a48bc07c2cb9.zip
Implement full support for parsing primary expressions. We can now parse
all of health and voronoi (ignoring directives). We only get 409 lines into 176.gcc though because we don't have binary operators yet: Parsing 176.gcc.llc.s:409: unexpected token in operand list movsbl _arityvec+1(,%edi,8), %eax ^ llvm-svn: 73877
Diffstat (limited to 'llvm/tools/llvm-mc/AsmParser.h')
-rw-r--r--llvm/tools/llvm-mc/AsmParser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mc/AsmParser.h b/llvm/tools/llvm-mc/AsmParser.h
index 670d987bfc3..82eb433b61e 100644
--- a/llvm/tools/llvm-mc/AsmParser.h
+++ b/llvm/tools/llvm-mc/AsmParser.h
@@ -39,6 +39,8 @@ private:
bool ParseX86Operand(X86Operand &Op);
bool ParseX86MemOperand(X86Operand &Op);
bool ParseExpression(int64_t &Res);
+ bool ParsePrimaryExpr(int64_t &Res);
+ bool ParseParenExpr(int64_t &Res);
};
} // end namespace llvm
OpenPOWER on IntegriCloud