Changes in directory llvm/lib/CodeGen:

VirtRegMap.cpp updated: 1.54 -> 1.55
---
Log message:

Fix VC++ warning.

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

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


Index: llvm/lib/CodeGen/VirtRegMap.cpp
diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.54 
llvm/lib/CodeGen/VirtRegMap.cpp:1.55
--- llvm/lib/CodeGen/VirtRegMap.cpp:1.54        Fri Feb  3 17:50:46 2006
+++ llvm/lib/CodeGen/VirtRegMap.cpp     Fri Feb  3 21:27:39 2006
@@ -279,7 +279,7 @@
     ModifyStackSlot(Slot);
     
     PhysRegsAvailable.insert(std::make_pair(Reg, Slot));
-    SpillSlotsAvailable[Slot] = (Reg << 1) | CanClobber;
+    SpillSlotsAvailable[Slot] = (Reg << 1) | (unsigned)CanClobber;
   
     DEBUG(std::cerr << "Remembering SS#" << Slot << " in physreg "
                     << MRI->getName(Reg) << "\n");



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to