From: Chad Rosier Date: Mon, 1 Oct 2012 20:53:03 +0000 (+0000) Subject: [ms-inline asm] Expose the getReg() function in the base class. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17be8a51b09c976d35360916952f275f76acf3b3;p=oota-llvm.git [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 --- diff --git a/include/llvm/MC/MCParser/MCParsedAsmOperand.h b/include/llvm/MC/MCParser/MCParsedAsmOperand.h index 369bc72ff61..0ce32d617ef 100644 --- a/include/llvm/MC/MCParser/MCParsedAsmOperand.h +++ b/include/llvm/MC/MCParser/MCParsedAsmOperand.h @@ -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;