projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdd1da2
)
[ms-inline asm] Expose the getReg() function in the base class.
author
Chad Rosier
<mcrosier@apple.com>
Mon, 1 Oct 2012 20:53:03 +0000
(20:53 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Mon, 1 Oct 2012 20:53:03 +0000
(20:53 +0000)
llvm-svn: 164969
llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
b/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
index
369bc72
..
0ce32d6
100644
(file)
--- a/
llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h
+++ b/
llvm/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;