Revert the non-cleanup part of r230769 because it introduced a non-determinism found...
[oota-llvm.git] / utils / TableGen / CodeGenRegisters.h
index 0ebfbc564b3fa3de16f07ffc51d9326e2a0bc3fa..e6e85b7f0ebd2c9dae02d30823a0d2180f250bdd 100644 (file)
@@ -75,7 +75,8 @@ namespace llvm {
     std::string getQualifiedName() const;
 
     // Map of composite subreg indices.
-    typedef DenseMap<CodeGenSubRegIndex *, CodeGenSubRegIndex *> CompMap;
+    typedef std::map<CodeGenSubRegIndex *, CodeGenSubRegIndex *,
+                     deref<llvm::less>> CompMap;
 
     // Returns the subreg index that results from composing this with Idx.
     // Returns NULL if this and Idx don't compose.