summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-06-02 01:36:48 +0000
committerCraig Topper <craig.topper@intel.com>2019-06-02 01:36:48 +0000
commit78c794a70bc89dca8d9fec986b42135feacb605b (patch)
tree10e7300502d747f72e527f04a24c8fa0fa10c45f /llvm/lib/CodeGen/MachineInstr.cpp
parent737de4d363ede4b90dd5609af0494fb39af53865 (diff)
downloadbcm5719-llvm-78c794a70bc89dca8d9fec986b42135feacb605b.tar.gz
bcm5719-llvm-78c794a70bc89dca8d9fec986b42135feacb605b.zip
[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/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index be39a726140..894d0abea3e 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1472,7 +1472,7 @@ void MachineInstr::print(raw_ostream &OS, bool IsStandalone, bool SkipOpers,
ModuleSlotTracker MST(M);
if (F)
MST.incorporateFunction(*F);
- print(OS, MST, IsStandalone, SkipOpers, SkipDebugLoc, TII);
+ print(OS, MST, IsStandalone, SkipOpers, SkipDebugLoc, AddNewLine, TII);
}
void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST,
OpenPOWER on IntegriCloud