Expose passinfo from BreakCriticalEdges pass so that it may be "Required" by
[oota-llvm.git] / include / llvm / ADT / HashExtras.h
index d7e48a3b625d900458564bbd7bb064b6449f1ee1..5887a8311626e6956d7c9323a415fbb98fd17b32 100644 (file)
 #define LLVM_SUPPORT_HASHEXTRAS_H
 
 #include <string>
-#include <ext/hash_map>
+#include <Support/hash_map>
 
 // Cannot specialize hash template from outside of the std namespace.
-namespace std {
+namespace HASH_NAMESPACE {
 
-template <> struct hash<string> {
-  size_t operator()(string const &str) const {
+template <> struct hash<std::string> {
+  size_t operator()(std::string const &str) const {
     return hash<char const *>()(str.c_str());
   }
 };