mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +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:
@@ -77,8 +77,8 @@ private:
|
|||||||
protected:
|
protected:
|
||||||
const TargetMachine *TM;
|
const TargetMachine *TM;
|
||||||
|
|
||||||
explicit BasicTTIImplBase(const TargetMachine *TM = nullptr)
|
explicit BasicTTIImplBase(const TargetMachine *TM)
|
||||||
: BaseT(TM ? TM->getDataLayout() : nullptr), TM(TM) {}
|
: BaseT(TM->getDataLayout()), TM(TM) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Provide value semantics. MSVC requires that we spell all of these out.
|
// Provide value semantics. MSVC requires that we spell all of these out.
|
||||||
|
Reference in New Issue
Block a user