[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 22 15:34:03 PDT 2003
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Interpreter.cpp updated: 1.12 -> 1.13
---
Log message:
Squelch warning
---
Diffs of the changes:
Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.12 llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.13
--- llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.12 Fri Sep 5 13:42:00 2003
+++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp Mon Sep 22 15:33:34 2003
@@ -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 @@
break;
}
- bool isLongPointer;
+ bool isLongPointer = false;
switch (M->getPointerSize()) {
case Module::Pointer32: isLongPointer = false; break;
case Module::Pointer64: isLongPointer = true; break;
More information about the llvm-commits
mailing list