mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
remove some dead code.
llvm-svn: 47066
This commit is contained in:
parent
8190e4fbe0
commit
c16c85444c
@ -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…
Reference in New Issue
Block a user