[multiversion] Remove another place we were "handling" nullptr even
authorChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 13:21:04 +0000 (13:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 13:21:04 +0000 (13:21 +0000)
though it was never a reasonable input.

llvm-svn: 227736

llvm/include/llvm/CodeGen/BasicTTIImpl.h

index 616e39f..2b9ee6b 100644 (file)
@@ -77,8 +77,8 @@ private:
 protected:
   const TargetMachine *TM;
 
-  explicit BasicTTIImplBase(const TargetMachine *TM = nullptr)
-      : BaseT(TM ? TM->getDataLayout() : nullptr), TM(TM) {}
+  explicit BasicTTIImplBase(const TargetMachine *TM)
+      : BaseT(TM->getDataLayout()), TM(TM) {}
 
 public:
   // Provide value semantics. MSVC requires that we spell all of these out.