From a005c3140d8c16fd68b7e3a3dffb3153609f7527 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 10 Jan 2012 21:49:42 +0000 Subject: Let asm parser query asm syntax dialect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147880 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MCParser/AsmParser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/MC') diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 0c05c7e..7fad301 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp @@ -143,6 +143,7 @@ public: virtual MCAsmLexer &getLexer() { return Lexer; } virtual MCContext &getContext() { return Ctx; } virtual MCStreamer &getStreamer() { return Out; } + virtual unsigned getAssemblerDialect() { return MAI.getAssemblerDialect(); } virtual bool Warning(SMLoc L, const Twine &Msg, ArrayRef Ranges = ArrayRef()); -- cgit v1.1