[llvm-commits] [llvm] r165326 - /llvm/trunk/include/llvm/MC/MCTargetAsmParser.h
Chad Rosier
mcrosier at apple.com
Fri Oct 5 12:00:51 PDT 2012
Author: mcrosier
Date: Fri Oct 5 14:00:51 2012
New Revision: 165326
URL: http://llvm.org/viewvc/llvm-project?rev=165326&view=rev
Log:
[ms-inline asm] Add a comment describing the MapAndConstraints.
Modified:
llvm/trunk/include/llvm/MC/MCTargetAsmParser.h
Modified: llvm/trunk/include/llvm/MC/MCTargetAsmParser.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCTargetAsmParser.h?rev=165326&r1=165325&r2=165326&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCTargetAsmParser.h (original)
+++ llvm/trunk/include/llvm/MC/MCTargetAsmParser.h Fri Oct 5 14:00:51 2012
@@ -50,6 +50,8 @@
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;
More information about the llvm-commits
mailing list