forked from OSchip/llvm-project
Respect operator precedence (and silence a gcc 4.3 warning).
llvm-svn: 94304
This commit is contained in:
parent
6d174646dd
commit
14bb114c92
|
@ -230,7 +230,7 @@ void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) {
|
|||
}
|
||||
|
||||
void ValueEnumerator::EnumerateMetadata(const Value *MD) {
|
||||
assert(isa<MDNode>(MD) || isa<MDString>(MD) && "Invalid metadata kind");
|
||||
assert((isa<MDNode>(MD) || isa<MDString>(MD)) && "Invalid metadata kind");
|
||||
// Check to see if it's already in!
|
||||
unsigned &MDValueID = MDValueMap[MD];
|
||||
if (MDValueID) {
|
||||
|
|
Loading…
Reference in New Issue