projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ms-inline asm] Expose the getReg() function in the base class.
[oota-llvm.git]
/
include
/
llvm
/
MC
/
MCParser
/
MCParsedAsmOperand.h
diff --git
a/include/llvm/MC/MCParser/MCParsedAsmOperand.h
b/include/llvm/MC/MCParser/MCParsedAsmOperand.h
index 369bc72ff61efe04c25e6b8d20f3efb9ff8e48f8..0ce32d617effae79ed46b4f672d8e3c9333d6a29 100644
(file)
--- 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;