1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Respect operator precedence (and silence a gcc 4.3 warning).

llvm-svn: 94304
This commit is contained in:
Benjamin Kramer 2010-01-23 09:54:23 +00:00
parent 617e6fb889
commit 252f9b6a26

View File

@ -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) {