mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 00:27:31 +00:00
Kill warning
llvm-svn: 8056
This commit is contained in:
parent
805dd2d1d7
commit
ac65cd51a4
@ -146,7 +146,7 @@ bool BugDriver::run() {
|
||||
// was specified, make sure that the raw output matches it. If not, it's a
|
||||
// problem in the front-end or the code generator.
|
||||
//
|
||||
bool CreatedOutput = false, Result;
|
||||
bool CreatedOutput = false;
|
||||
if (ReferenceOutputFile.empty()) {
|
||||
std::cout << "Generating reference output from raw program...";
|
||||
if (DebugCodegen) {
|
||||
@ -158,10 +158,14 @@ bool BugDriver::run() {
|
||||
std::cout << "Reference output is: " << ReferenceOutputFile << "\n";
|
||||
}
|
||||
|
||||
if (DebugMode == DebugCompile) {
|
||||
bool Result;
|
||||
switch (DebugMode) {
|
||||
default: assert(0 && "Bad value for DebugMode!");
|
||||
case DebugCompile:
|
||||
std::cout << "\n*** Debugging miscompilation!\n";
|
||||
Result = debugMiscompilation();
|
||||
} else { // there is only one other possible value: DebugCodegen
|
||||
break;
|
||||
case DebugCodegen:
|
||||
std::cout << "Debugging code generator problem!\n";
|
||||
Result = debugCodeGenerator();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user