summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2010-01-10 07:14:18 +0000
committerVictor Hernandez <vhernandez@apple.com>2010-01-10 07:14:18 +0000
commit24e64df7ec25b55aa872c2ef33728dfbb8c353c4 (patch)
tree7bd02b0cd86413d8a5202b7356d5670522ec2c93 /lib/AsmParser/LLParser.h
parentf4fb91181cbd3f63d487a2519c7f7be9d5e51709 (diff)
downloadllvm-24e64df7ec25b55aa872c2ef33728dfbb8c353c4.tar.gz
llvm-24e64df7ec25b55aa872c2ef33728dfbb8c353c4.tar.bz2
llvm-24e64df7ec25b55aa872c2ef33728dfbb8c353c4.tar.xz
Compute isFunctionLocal in MDNode ctor or via argument in new function getWhenValsUnresolved().
Document PFS argument to ParseValID() and ConvertGlobalOrMetadataValIDToValue(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r--lib/AsmParser/LLParser.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h
index d532081c5b..595267b7ff 100644
--- a/lib/AsmParser/LLParser.h
+++ b/lib/AsmParser/LLParser.h
@@ -294,13 +294,11 @@ namespace llvm {
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 *isFunctionLocal);
+ Value *&V, PerFunctionState *PFS);
bool ParseGlobalValue(const Type *Ty, Constant *&V);
bool ParseGlobalTypeAndValue(Constant *&V);
bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts);
- bool ParseMDNodeVector(SmallVectorImpl<Value*> &, PerFunctionState *PFS,
- bool *isFunctionLocal);
+ bool ParseMDNodeVector(SmallVectorImpl<Value*> &, PerFunctionState *PFS);
// Function Parsing.
struct ArgInfo {