diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-05 19:00:51 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-05 19:00:51 +0000 |
commit | 685d3486535dc4be65028e01a730a0b3d4803021 (patch) | |
tree | 5c35d2720cff324ea18568d4060c5cc968c852a2 /include | |
parent | 9ba9d4d76bfa8de2b05cbce02a5a3ff7d46cb331 (diff) |
[ms-inline asm] Add a comment describing the MapAndConstraints.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCTargetAsmParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCTargetAsmParser.h b/include/llvm/MC/MCTargetAsmParser.h index c5451ceec4..a966a6b8b3 100644 --- a/include/llvm/MC/MCTargetAsmParser.h +++ b/include/llvm/MC/MCTargetAsmParser.h @@ -50,6 +50,8 @@ public: virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) = 0; + /// MapAndConstraints - Map inline assembly operands to MCInst operands + /// and an associated constraint. typedef std::pair< unsigned, std::string > MapAndConstraint; typedef SmallVector<MapAndConstraint, 4> MatchInstMapAndConstraints; typedef SmallVectorImpl<MapAndConstraint> MatchInstMapAndConstraintsImpl; |