mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Add a missing ~ (dtor became ctor) which caused crashes on a bunch of stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c3de802ad9
commit
fc196f9ee9
@ -83,9 +83,12 @@ namespace {
|
|||||||
class LinkerTypeMap : public AbstractTypeUser {
|
class LinkerTypeMap : public AbstractTypeUser {
|
||||||
typedef DenseMap<const Type*, PATypeHolder> TheMapTy;
|
typedef DenseMap<const Type*, PATypeHolder> TheMapTy;
|
||||||
TheMapTy TheMap;
|
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(),
|
for (DenseMap<const Type*, PATypeHolder>::iterator I = TheMap.begin(),
|
||||||
E = TheMap.end(); I != E; ++I)
|
E = TheMap.end(); I != E; ++I)
|
||||||
I->first->removeAbstractTypeUser(this);
|
I->first->removeAbstractTypeUser(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user