From 57a004abfe84b9e793a88bd8ca5945f552e21db6 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Sat, 4 Feb 2006 03:27:39 +0000 Subject: [PATCH] Fix VC++ warning. llvm-svn: 25957 --- llvm/lib/CodeGen/VirtRegMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp index 24457b4a63d2..ce6fbedea61a 100644 --- a/llvm/lib/CodeGen/VirtRegMap.cpp +++ b/llvm/lib/CodeGen/VirtRegMap.cpp @@ -279,7 +279,7 @@ public: 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");