mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
Squelch warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8bab27d282
commit
021c190f8d
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user