mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-24 14:33:40 +00:00
Add a missing ~ (dtor became ctor) which caused crashes on a bunch of stuff.
llvm-svn: 52374
This commit is contained in:
parent
8cfd1d39a1
commit
468adb09d7
@ -83,9 +83,12 @@ namespace {
|
||||
class LinkerTypeMap : public AbstractTypeUser {
|
||||
typedef DenseMap<const Type*, PATypeHolder> TheMapTy;
|
||||
TheMapTy TheMap;
|
||||
public:
|
||||
|
||||
LinkerTypeMap() {
|
||||
LinkerTypeMap(const LinkerTypeMap&); // DO NOT IMPLEMENT
|
||||
void operator=(const LinkerTypeMap&); // DO NOT IMPLEMENT
|
||||
public:
|
||||
LinkerTypeMap() {}
|
||||
~LinkerTypeMap() {
|
||||
for (DenseMap<const Type*, PATypeHolder>::iterator I = TheMap.begin(),
|
||||
E = TheMap.end(); I != E; ++I)
|
||||
I->first->removeAbstractTypeUser(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user