mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
[C++] Use 'nullptr'. Target edition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -98,7 +98,8 @@ static MCAsmInfo *createSystemZMCAsmInfo(const MCRegisterInfo &MRI,
|
||||
StringRef TT) {
|
||||
MCAsmInfo *MAI = new SystemZMCAsmInfo(TT);
|
||||
MCCFIInstruction Inst =
|
||||
MCCFIInstruction::createDefCfa(0, MRI.getDwarfRegNum(SystemZ::R15D, true),
|
||||
MCCFIInstruction::createDefCfa(nullptr,
|
||||
MRI.getDwarfRegNum(SystemZ::R15D, true),
|
||||
SystemZMC::CFAOffsetFromInitialSP);
|
||||
MAI->addInitialFrameState(Inst);
|
||||
return MAI;
|
||||
|
||||
Reference in New Issue
Block a user