mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
remove some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47066 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e45252efee
commit
eedcf3fc46
@ -87,10 +87,6 @@ bool ConstantMerge::runOnModule(Module &M) {
|
||||
} else if (GV->hasInternalLinkage()) { // Yup, this is a duplicate!
|
||||
// Make all uses of the duplicate constant use the canonical version.
|
||||
Replacements.push_back(std::make_pair(GV, Slot));
|
||||
} else if (GV->hasInternalLinkage()) {
|
||||
// Make all uses of the duplicate constant use the canonical version.
|
||||
Replacements.push_back(std::make_pair(Slot, GV));
|
||||
Slot = GV;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user