diff options
author | Craig Topper <craig.topper@intel.com> | 2019-06-02 01:36:48 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-06-02 01:36:48 +0000 |
commit | 78c794a70bc89dca8d9fec986b42135feacb605b (patch) | |
tree | 10e7300502d747f72e527f04a24c8fa0fa10c45f /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | 737de4d363ede4b90dd5609af0494fb39af53865 (diff) | |
download | llvm-78c794a70bc89dca8d9fec986b42135feacb605b.zip llvm-78c794a70bc89dca8d9fec986b42135feacb605b.tar.gz llvm-78c794a70bc89dca8d9fec986b42135feacb605b.tar.bz2 |
[X86] Fix several places that weren't passing what they though they were to MachineInstr::print
Over a year ago, MachineInstr gained a fourth boolean parameter that occurs
before the TII pointer. When this happened, several places started accidentally
passing TII into this boolean parameter instead of the TII parameter.
llvm-svn: 362312
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index 2ac3fe2..7f95e12 100644 --- a/llvm/lib/CodeGen/LiveDebugValues.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues.cpp @@ -457,7 +457,9 @@ void LiveDebugValues::insertTransferDebugPair( VarLoc VL(*NewDebugInstr, LS); ProcessVarLoc(VL, NewDebugInstr); LLVM_DEBUG(dbgs() << "Creating DBG_VALUE inst for register copy: "; - NewDebugInstr->print(dbgs(), false, false, false, TII)); + NewDebugInstr->print(dbgs(), /*IsStandalone*/false, + /*SkipOpers*/false, /*SkipDebugLoc*/false, + /*AddNewLine*/true, TII)); return; } case TransferKind::TransferSpill: { @@ -474,7 +476,9 @@ void LiveDebugValues::insertTransferDebugPair( SpillLocation.SpillOffset, LS); ProcessVarLoc(VL, NewDebugInstr); LLVM_DEBUG(dbgs() << "Creating DBG_VALUE inst for spill: "; - NewDebugInstr->print(dbgs(), false, false, false, TII)); + NewDebugInstr->print(dbgs(), /*IsStandalone*/false, + /*SkipOpers*/false, /*SkipDebugLoc*/false, + /*AddNewLine*/true, TII)); return; } case TransferKind::TransferRestore: { @@ -488,7 +492,9 @@ void LiveDebugValues::insertTransferDebugPair( VarLoc VL(*NewDebugInstr, LS); ProcessVarLoc(VL, NewDebugInstr); LLVM_DEBUG(dbgs() << "Creating DBG_VALUE inst for register restore: "; - NewDebugInstr->print(dbgs(), false, false, false, TII)); + NewDebugInstr->print(dbgs(), /*IsStandalone*/false, + /*SkipOpers*/false, /*SkipDebugLoc*/false, + /*AddNewLine*/true, TII)); return; } } |