mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
Let asm parser query asm syntax dialect.
llvm-svn: 147880
This commit is contained in:
parent
21c229f1fb
commit
90a5a47ef8
@ -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…
Reference in New Issue
Block a user