[ms-inline asm] Expose the getReg() function in the base class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2012-10-01 20:53:03 +00:00
parent 06d9981d27
commit 17be8a51b0

View File

@ -29,6 +29,8 @@ public:
virtual bool isImm() const = 0;
/// isReg - Is this a register operand?
virtual bool isReg() const = 0;
virtual unsigned getReg() const = 0;
/// isMem - Is this a memory operand?
virtual bool isMem() const = 0;