mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 13:20:57 +00:00
Fix a covnersion from string to bool issue used in an assert
Problem Was exposed by -Wstring-conversion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ea46b8e15
commit
f92376ea02
@ -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 << ')';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user