[llvm-commits] [llvm] r164969 - /llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
Chad Rosier
mcrosier at apple.com
Mon Oct 1 13:53:03 PDT 2012
Author: mcrosier
Date: Mon Oct 1 15:53:03 2012
New Revision: 164969
URL: http://llvm.org/viewvc/llvm-project?rev=164969&view=rev
Log:
[ms-inline asm] Expose the getReg() function in the base class.
Modified:
llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
Modified: llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h?rev=164969&r1=164968&r2=164969&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/MCParsedAsmOperand.h Mon Oct 1 15:53:03 2012
@@ -29,6 +29,8 @@
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;
More information about the llvm-commits
mailing list