mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Minor cleanup.
llvm-svn: 55423
This commit is contained in:
parent
3976cccecd
commit
551cf02a2d
@ -198,9 +198,10 @@ namespace {
|
||||
/// this condition, do so.
|
||||
///
|
||||
bool abortIfBroken() {
|
||||
if (Broken) {
|
||||
if (!Broken) return false;
|
||||
msgs << "Broken module found, ";
|
||||
switch (action) {
|
||||
default: assert(0 && "Unknown action");
|
||||
case AbortProcessAction:
|
||||
msgs << "compilation aborted!\n";
|
||||
cerr << msgs.str();
|
||||
@ -214,8 +215,6 @@ namespace {
|
||||
return Broken;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// Verification methods...
|
||||
|
Loading…
Reference in New Issue
Block a user