mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
dead code patrol
llvm-svn: 112713
This commit is contained in:
parent
b911e51b26
commit
118bf38c3f
@ -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…
x
Reference in New Issue
Block a user