diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-30 04:42:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-30 04:42:57 +0000 |
commit | a01ddfc2a3a0f537212b5cd52c71d34c067f0fbb (patch) | |
tree | ec9de40374ebf50ff7c4d84f76ce6ba4497f13f9 /llvm/lib/AsmParser/LLParser.h | |
parent | 6dac02a4f71304926cf013d65e37198d068d8e61 (diff) | |
download | bcm5719-llvm-a01ddfc2a3a0f537212b5cd52c71d34c067f0fbb.tar.gz bcm5719-llvm-a01ddfc2a3a0f537212b5cd52c71d34c067f0fbb.zip |
rewrite ParseMDNodeVector to follow the normal patter used in the .ll parser.
llvm-svn: 92292
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h index e8eb3023b98..7d5cfcf95a7 100644 --- a/llvm/lib/AsmParser/LLParser.h +++ b/llvm/lib/AsmParser/LLParser.h @@ -213,6 +213,8 @@ namespace llvm { // Constants. bool ParseValID(ValID &ID); bool ConvertGlobalValIDToValue(const Type *Ty, ValID &ID, Constant *&V); + bool ConvertGlobalOrMetadataValIDToValue(const Type *Ty, ValID &ID, + Value *&V); bool ParseGlobalValue(const Type *Ty, Constant *&V); bool ParseGlobalTypeAndValue(Constant *&V); bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts); |