mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
dead code patrol
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112713 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14ab39e43f
commit
0b5b18340b
@ -97,15 +97,6 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// erase - Remove the specified type, returning true if it was in the set.
|
||||
bool erase(const Type *Ty) {
|
||||
if (!TheMap.erase(Ty))
|
||||
return false;
|
||||
if (Ty->isAbstract())
|
||||
Ty->removeAbstractTypeUser(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
/// insert - This returns true if the pointer was new to the set, false if it
|
||||
/// was already in the set.
|
||||
bool insert(const Type *Src, const Type *Dst) {
|
||||
|
Loading…
Reference in New Issue
Block a user