[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 23 07:56:53 PST 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32CodeEmitter.cpp updated: 1.18 -> 1.19
---
Log message:
Squelch a bogus warning.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp
diff -u llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp:1.18 llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp:1.19
--- llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp:1.18 Tue Nov 23 00:56:31 2004
+++ llvm/lib/Target/PowerPC/PPC32CodeEmitter.cpp Tue Nov 23 09:56:38 2004
@@ -194,7 +194,7 @@
} else if (MO.isImmediate()) {
rv = MO.getImmedValue();
} else if (MO.isGlobalAddress()) {
- unsigned Reloc;
+ unsigned Reloc = 0;
if (MI.getOpcode() == PPC::CALLpcrel)
Reloc = PPC::reloc_pcrel_bx;
else if (MI.getOpcode() == PPC::LOADHiAddr) {
More information about the llvm-commits
mailing list