projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3be85
)
Fix VC++ warning.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Sat, 4 Feb 2006 03:27:39 +0000
(
03:27
+0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Sat, 4 Feb 2006 03:27:39 +0000
(
03:27
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25957
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/VirtRegMap.cpp
b/lib/CodeGen/VirtRegMap.cpp
index 24457b4a63d28cce20a6cb630fc0474985907cc2..ce6fbedea61ac6abeff84bd9c8684cc8ad3b7ce6 100644
(file)
--- 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");