1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-04-08 09:43:20 +00:00

[multiversion] Remove another place we were "handling" nullptr even

though it was never a reasonable input.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2015-02-01 13:21:04 +00:00
parent 6e89e1316a
commit 7b1ef137a2

@ -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.