forked from OSchip/llvm-project
parent
7f724e9b94
commit
8ad0e6a484
|
@ -1132,7 +1132,7 @@ void print_block(std::ostream& OS, const CFG* cfg, const CFGBlock& B,
|
|||
C->getRHS()->printPretty(OS);
|
||||
}
|
||||
}
|
||||
else if (DefaultStmt* D = dyn_cast<DefaultStmt>(S))
|
||||
else if (isa<DefaultStmt>(S))
|
||||
OS << "default";
|
||||
else
|
||||
assert(false && "Invalid label statement in CFGBlock.");
|
||||
|
|
Loading…
Reference in New Issue