[llvm-commits] [llvm] r53278 - /llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Bill Wendling
isanbard at gmail.com
Tue Jul 8 22:55:53 PDT 2008
Author: void
Date: Wed Jul 9 00:55:53 2008
New Revision: 53278
URL: http://llvm.org/viewvc/llvm-project?rev=53278&view=rev
Log:
Silence warning by initializing variable.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=53278&r1=53277&r2=53278&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Wed Jul 9 00:55:53 2008
@@ -615,7 +615,7 @@
// Arguments stored on registers
if (VA.isRegLoc()) {
MVT RegVT = VA.getLocVT();
- TargetRegisterClass *RC;
+ TargetRegisterClass *RC = 0;
if (RegVT == MVT::i32)
RC = Mips::CPURegsRegisterClass;
More information about the llvm-commits
mailing list