summaryrefslogtreecommitdiff
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-10-18 20:27:15 +0000
committerChad Rosier <mcrosier@apple.com>2012-10-18 20:27:15 +0000
commit3298959540ca744ec16b4c65db244534a929a862 (patch)
tree88d4e8fcf733f6041c3a298584bdf120ab7a5c83 /include/llvm/MC
parent974b1907178f980063d4b4defefe3eb4d3d50b7b (diff)
downloadllvm-3298959540ca744ec16b4c65db244534a929a862.tar.gz
llvm-3298959540ca744ec16b4c65db244534a929a862.tar.bz2
llvm-3298959540ca744ec16b4c65db244534a929a862.tar.xz
[ms-inline asm] Add a size argument to the LookupInlineAsmIdentifier() callback,
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
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCParser/MCAsmParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/MC/MCParser/MCAsmParser.h b/include/llvm/MC/MCParser/MCAsmParser.h
index bb71a4633d..554cdfabf6 100644
--- a/include/llvm/MC/MCParser/MCAsmParser.h
+++ b/include/llvm/MC/MCParser/MCAsmParser.h
@@ -34,7 +34,8 @@ class Twine;
/// 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