mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-15 06:18:50 +00:00
Let asm parser query asm syntax dialect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147880 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11c2defa91
commit
a005c3140d
@ -64,6 +64,8 @@ public:
|
||||
MCTargetAsmParser &getTargetParser() const { return *TargetParser; }
|
||||
void setTargetParser(MCTargetAsmParser &P);
|
||||
|
||||
virtual unsigned getAssemblerDialect() { return 0;}
|
||||
|
||||
bool getShowParsedOperands() const { return ShowParsedOperands; }
|
||||
void setShowParsedOperands(bool Value) { ShowParsedOperands = Value; }
|
||||
|
||||
|
@ -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<SMRange> Ranges = ArrayRef<SMRange>());
|
||||
|
Loading…
x
Reference in New Issue
Block a user