mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +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:
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user