Use armv6k default for FreeBSD/ARM
[oota-llvm.git] / lib / ProfileData / InstrProf.cpp
index 628edfb86cd989d06aea48086da761399151b921..01212227206719b2ad18804960a418fce61dc574 100644 (file)
@@ -52,12 +52,6 @@ class InstrProfErrorCategoryType : public std::error_category {
     }
     llvm_unreachable("A value of instrprof_error has no message.");
   }
-  std::error_condition
-  default_error_condition(int EV) const LLVM_NOEXCEPT override {
-    if (static_cast<instrprof_error>(EV) == instrprof_error::success)
-      return std::error_condition();
-    return std::errc::invalid_argument;
-  }
 };
 }