[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jan 6 09:56:01 PST 2006



Changes in directory llvm/lib/Target/X86:

X86ISelPattern.cpp updated: 1.190 -> 1.191
---
Log message:

silence a bogus gcc warning


---
Diffs of the changes:  (+1 -1)

 X86ISelPattern.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.190 llvm/lib/Target/X86/X86ISelPattern.cpp:1.191
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.190	Wed Dec 21 01:47:04 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp	Fri Jan  6 11:55:49 2006
@@ -2989,7 +2989,7 @@
 
   // Copy the return address of the caller into a virtual register so we don't
   // clobber it.
-  SDOperand RetVal;
+  SDOperand RetVal(0, 0);
   if (ESPOffset) {
     SDOperand RetValAddr = X86Lowering.getReturnAddressFrameIndex(*TheDAG);
     RetVal = TheDAG->getLoad(MVT::i32, TheDAG->getEntryNode(),






More information about the llvm-commits mailing list