[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
This commit is contained in:
Chad Rosier 2012-10-05 19:00:51 +00:00
parent 9ba9d4d76b
commit 685d348653

View File

@ -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;