aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-19 22:00:18 +0000
committerChris Lattner <sabre@nondot.org>2009-01-19 22:00:18 +0000
commit2f39b29170e0f69491fc5b73952725266ac32fb8 (patch)
treed7c6a2078d293634291bc4638009837fef0a382c /lib
parentc9a005807ab46d03a3b24f84220542c6eb84e9d1 (diff)
downloadexternal_llvm-2f39b29170e0f69491fc5b73952725266ac32fb8.zip
external_llvm-2f39b29170e0f69491fc5b73952725266ac32fb8.tar.gz
external_llvm-2f39b29170e0f69491fc5b73952725266ac32fb8.tar.bz2
improve compatibility with cygwin, patch by Jay Foad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/GVN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index e5eef8f..9c7f904 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/lib/Transforms/Scalar/GVN.cpp
@@ -1251,7 +1251,7 @@ Value* GVN::AttemptRedundancyElimination(Instruction* orig, unsigned valno) {
DenseMap<BasicBlock*, ValueNumberScope*>::iterator LA =
localAvail.find(Current);
if (LA == localAvail.end()) return 0;
- DenseMap<unsigned, Value*>::iterator V = LA->second->table.find(valno);
+ DenseMap<uint32_t, Value*>::iterator V = LA->second->table.find(valno);
if (V != LA->second->table.end()) {
// Found an instance, record it.