aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2010-01-06 17:00:21 +0000
committerVictor Hernandez <vhernandez@apple.com>2010-01-06 17:00:21 +0000
commit76bf310b7a62a0dd34cd9c90a438343f2732645d (patch)
treebda42e4580b6fa3f9a8a991551f32d6da225b75c /lib/AsmParser/LLParser.h
parent2973b57093b017f2e3b5f5edd0be9d4ea180f0e9 (diff)
When parsing function-local metadata, create a function-local MDNode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r--lib/AsmParser/LLParser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h
index 595267b7ff..d532081c5b 100644
--- a/lib/AsmParser/LLParser.h
+++ b/lib/AsmParser/LLParser.h
@@ -294,11 +294,13 @@ 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);
+ Value *&V, PerFunctionState *PFS,
+ bool *isFunctionLocal);
bool ParseGlobalValue(const Type *Ty, Constant *&V);
bool ParseGlobalTypeAndValue(Constant *&V);
bool ParseGlobalValueVector(SmallVectorImpl<Constant*> &Elts);
- bool ParseMDNodeVector(SmallVectorImpl<Value*> &, PerFunctionState *PFS);
+ bool ParseMDNodeVector(SmallVectorImpl<Value*> &, PerFunctionState *PFS,
+ bool *isFunctionLocal);
// Function Parsing.
struct ArgInfo {