mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Minor cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55423 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -198,9 +198,10 @@ namespace {
|
|||||||
/// this condition, do so.
|
/// this condition, do so.
|
||||||
///
|
///
|
||||||
bool abortIfBroken() {
|
bool abortIfBroken() {
|
||||||
if (Broken) {
|
if (!Broken) return false;
|
||||||
msgs << "Broken module found, ";
|
msgs << "Broken module found, ";
|
||||||
switch (action) {
|
switch (action) {
|
||||||
|
default: assert(0 && "Unknown action");
|
||||||
case AbortProcessAction:
|
case AbortProcessAction:
|
||||||
msgs << "compilation aborted!\n";
|
msgs << "compilation aborted!\n";
|
||||||
cerr << msgs.str();
|
cerr << msgs.str();
|
||||||
@@ -214,8 +215,6 @@ namespace {
|
|||||||
return Broken;
|
return Broken;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Verification methods...
|
// Verification methods...
|
||||||
|
Reference in New Issue
Block a user