which will be used by the asm matcher in the near future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166222
91177308-0d34-0410-b5e6-
96231b3b80d8
/// MCAsmParserSemaCallback - Generic Sema callback for assembly parser.
class MCAsmParserSemaCallback {
public:
/// MCAsmParserSemaCallback - Generic Sema callback for assembly parser.
class MCAsmParserSemaCallback {
public:
- virtual void *LookupInlineAsmIdentifier(StringRef Name, void *Loc) = 0;
+ virtual void *LookupInlineAsmIdentifier(StringRef Name, void *Loc,
+ unsigned &Size) = 0;
};
/// MCAsmParser - Generic assembler parser interface, for use by target specific
};
/// MCAsmParser - Generic assembler parser interface, for use by target specific
}
// Expr/Input or Output.
}
// Expr/Input or Output.
- void *OpDecl = SI.LookupInlineAsmIdentifier(Operand->getName(), AsmLoc);
+ unsigned Size;
+ void *OpDecl = SI.LookupInlineAsmIdentifier(Operand->getName(), AsmLoc,
+ Size);
if (OpDecl) {
bool isOutput = (i == 1) && Desc.mayStore();
if (isOutput) {
if (OpDecl) {
bool isOutput = (i == 1) && Desc.mayStore();
if (isOutput) {