Print a semicolon for the unreacahble instruction. This fixes problems
where C requires semicolons in some cases to indicate null statements. llvm-svn: 17107
This commit is contained in:
parent
6a792feb02
commit
53058663aa
|
@ -1212,7 +1212,7 @@ void CWriter::visitSwitchInst(SwitchInst &SI) {
|
|||
}
|
||||
|
||||
void CWriter::visitUnreachableInst(UnreachableInst &I) {
|
||||
Out << " /*UNREACHABLE*/\n";
|
||||
Out << " /*UNREACHABLE*/;\n";
|
||||
}
|
||||
|
||||
bool CWriter::isGotoCodeNecessary(BasicBlock *From, BasicBlock *To) {
|
||||
|
|
Loading…
Reference in New Issue