Some targets don't require the fencing MEMBARRIER instructions surrounding
[oota-llvm.git] / lib / CodeGen / MachineRegisterInfo.cpp
index 3982499eab6b0a477c022e2dd5863ad86f2f41d9..631c43c6b32116951d1a9c361633dd8ce5bd3c65 100644 (file)
@@ -37,6 +37,7 @@ MachineRegisterInfo::~MachineRegisterInfo() {
            "PhysRegUseDefLists has entries after all instructions are deleted");
 #endif
   delete [] PhysRegUseDefLists;
+  delete [] RegClass2VRegMap;
 }
 
 /// setRegClass - Set the register class of the specified virtual register.