forked from OSchip/llvm-project
When we know we have an MDValue or MDString, call EnumerateMetadata
directly instead of going through EnumerateValue. llvm-svn: 111894
This commit is contained in:
parent
338d9a4935
commit
ab09a12cad
|
@ -352,7 +352,7 @@ void ValueEnumerator::EnumerateOperandType(const Value *V) {
|
|||
EnumerateOperandType(Elem);
|
||||
}
|
||||
} else if (isa<MDString>(V) || isa<MDNode>(V))
|
||||
EnumerateValue(V);
|
||||
EnumerateMetadata(V);
|
||||
}
|
||||
|
||||
void ValueEnumerator::EnumerateAttributes(const AttrListPtr &PAL) {
|
||||
|
|
Loading…
Reference in New Issue