diff options
author | Victor Hernandez <vhernandez@apple.com> | 2010-01-11 22:31:58 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2010-01-11 22:31:58 +0000 |
commit | 92f238dd8fe19b26103bd451c571281d9b7ad324 (patch) | |
tree | 76136286618440de57bdfd06512439e75b804775 /lib/AsmParser/LLParser.h | |
parent | d53e42efe93f6a716d082ad63862794da0e59895 (diff) | |
download | llvm-92f238dd8fe19b26103bd451c571281d9b7ad324.tar.gz llvm-92f238dd8fe19b26103bd451c571281d9b7ad324.tar.bz2 llvm-92f238dd8fe19b26103bd451c571281d9b7ad324.tar.xz |
Consolidate ConvertGlobalValIDToValue, ConvertGlobalOrMetadataValIDToValue, and ConvertValIDToValue into a more powerful ConvertValIDToValue() that does all three's work
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 595267b7ff..bea0593faa 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -259,7 +259,7 @@ namespace llvm { }; bool ConvertValIDToValue(const Type *Ty, ValID &ID, Value *&V, - PerFunctionState &PFS); + PerFunctionState *PFS); bool ParseValue(const Type *Ty, Value *&V, PerFunctionState &PFS); bool ParseValue(const Type *Ty, Value *&V, LocTy &Loc, @@ -292,9 +292,6 @@ namespace llvm { // Constant Parsing. bool ParseValID(ValID &ID, PerFunctionState *PFS = NULL); - bool ConvertGlobalValIDToValue(const Type *Ty, ValID &ID, Constant *&V); - bool ConvertGlobalOrMetadataValIDToValue(const Type *Ty, ValID &ID, - Value *&V, PerFunctionState *PFS); bool ParseGlobalValue(const Type *Ty, Constant *&V); bool ParseGlobalTypeAndValue(Constant *&V); bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts); |