diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-08 19:23:54 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-08 19:23:54 +0000 |
commit | 1c7eea60d3cbada2bae54c42fa178078a3ace9b3 (patch) | |
tree | 3c6d1e99703f2abbca80d33853e256ffaf0f5432 /lib/AsmParser/LLParser.h | |
parent | 59ae6b99872953761dfda5984801d23a66692673 (diff) |
Support MDNode forward reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 1f053c2908..30a49cd884 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -46,6 +46,8 @@ namespace llvm { std::vector<PATypeHolder> NumberedTypes; /// MetadataCache - This map keeps track of parsed metadata constants. std::map<unsigned, Constant *> MetadataCache; + std::map<unsigned, std::pair<Constant *, LocTy> > ForwardRefMDNodes; + struct UpRefRecord { /// Loc - This is the location of the upref. LocTy Loc; |