[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
Reid Spencer
reid at x10sys.com
Sat Jun 18 10:37:46 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PowerPCBranchSelector.cpp updated: 1.10 -> 1.11
---
Log message:
Clean up some uninitialized variables and missing return statements that
GCC 4.0.0 compiler (sometimes incorrectly) warns about under release build.
---
Diffs of the changes: (+2 -1)
PowerPCBranchSelector.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp:1.10 llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp:1.11
--- llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp:1.10 Fri Jun 17 08:44:07 2005
+++ llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp Sat Jun 18 12:37:34 2005
@@ -43,8 +43,9 @@
case PPC::IMPLICIT_DEF: // no asm emitted
return 0;
default:
- return 4; // PowerPC instructions are all 4 bytes
+ break;
}
+ return 4; // PowerPC instructions are all 4 bytes
}
virtual bool runOnMachineFunction(MachineFunction &Fn) {
More information about the llvm-commits
mailing list