Squelch warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-09-22 20:33:34 +00:00
parent 8bab27d282
commit 021c190f8d
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
/// create - Create a new interpreter object. This can never fail.
///
ExecutionEngine *Interpreter::create(Module *M, bool TraceMode){
bool isLittleEndian;
bool isLittleEndian = false;
switch (M->getEndianness()) {
case Module::LittleEndian: isLittleEndian = true; break;
case Module::BigEndian: isLittleEndian = false; break;
@ -25,7 +25,7 @@ ExecutionEngine *Interpreter::create(Module *M, bool TraceMode){
break;
}
bool isLongPointer;
bool isLongPointer = false;
switch (M->getPointerSize()) {
case Module::Pointer32: isLongPointer = false; break;
case Module::Pointer64: isLongPointer = true; break;

View File

@ -707,7 +707,7 @@ struct FoldSetCCLogical {
case Instruction::And: Code = LHSCode & RHSCode; break;
case Instruction::Or: Code = LHSCode | RHSCode; break;
case Instruction::Xor: Code = LHSCode ^ RHSCode; break;
default: assert(0 && "Illegal logical opcode!");
default: assert(0 && "Illegal logical opcode!"); return 0;
}
Value *RV = getSetCCValue(Code, LHS, RHS);