mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
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
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user