mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
Add a few virtual functions to the abstract MCParsedAsmOperand class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d1f75a3d5
commit
fde528fa2b
@ -23,6 +23,11 @@ public:
|
||||
MCParsedAsmOperand() {}
|
||||
virtual ~MCParsedAsmOperand() {}
|
||||
|
||||
virtual bool isToken() const = 0;
|
||||
virtual bool isImm() const = 0;
|
||||
virtual bool isReg() const = 0;
|
||||
virtual bool isMem() const = 0;
|
||||
|
||||
/// getStartLoc - Get the location of the first token of this operand.
|
||||
virtual SMLoc getStartLoc() const = 0;
|
||||
/// getEndLoc - Get the location of the last token of this operand.
|
||||
|
Loading…
x
Reference in New Issue
Block a user