Fix a covnersion from string to bool issue used in an assert

Problem Was exposed by -Wstring-conversion
    

llvm-svn: 270087
This commit is contained in:
Ron Lieberman 2016-05-19 18:05:56 +00:00
parent 2c323a0eae
commit 562e19eecb
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ void HexagonInstPrinter::printSymbol(MCInst const *MI, unsigned OpNo,
printOperand(MI, OpNo, O);
} else {
printOperand(MI, OpNo, O);
assert(!"Unknown symbol operand");
llvm_unreachable("Unknown symbol operand");
}
O << ')';
}