diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2006-02-04 03:27:39 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2006-02-04 03:27:39 +0000 |
commit | 003cecbc9d210fa23f0ba68ac288748d20780cc7 (patch) | |
tree | d2bbd5c1609e1809902c92962fb1dd0e47039eb4 /lib/CodeGen/VirtRegMap.cpp | |
parent | 8e3be85c1ec15aee82cb82bbd5bee15a138f456a (diff) |
Fix VC++ warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r-- | lib/CodeGen/VirtRegMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index 24457b4a63..ce6fbedea6 100644 --- a/lib/CodeGen/VirtRegMap.cpp +++ b/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"); |