Fix gcc -Wparentheses warning.

llvm-svn: 208675
This commit is contained in:
Jay Foad 2014-05-13 08:26:53 +00:00
parent 711269966c
commit b359051d9e
1 changed files with 2 additions and 1 deletions

View File

@ -642,7 +642,8 @@ public:
void addOperand(StringRef Op, int OpIdx, int PrintMethodIdx = -1) {
assert(OpIdx >= 0 && OpIdx < 0xFE && "Idx out of range");
assert(PrintMethodIdx == -1 || PrintMethodIdx < 0xFF && "Idx out of range");
assert((PrintMethodIdx == -1 || PrintMethodIdx < 0xFF) &&
"Idx out of range");
OpMap[Op] = std::make_pair(OpIdx, PrintMethodIdx);
}