]> granicus.if.org Git - llvm/commit
MachineInstr: Remove parameter from dump()
authorMatthias Braun <matze@braunis.de>
Sun, 29 Jan 2017 18:20:42 +0000 (18:20 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 29 Jan 2017 18:20:42 +0000 (18:20 +0000)
commitaaf8acb74e3549b58c161984670a4f78fa01d30f
tree8bceda6ad01e0b423c75a6483cc4bc08108c8b92
parent12186ce14dafbbd524706e36ed202cee03a23729
MachineInstr: Remove parameter from dump()

The primary use of the dump() functions in LLVM is for use in a
debugger. Unfortunately lldb does not seem to handle default arguments
so using `p SomeMI.dump()` fails and you have to type the longer `p
SomeMI.dump(nullptr)`. Remove the paramter to make the most common use
easy. (You can always construct something like `p
SomeMI.print(dbgs(),MyTII)` if you need more features).

Differential Revision: https://reviews.llvm.org/D29241

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293440 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineCombiner.cpp
lib/CodeGen/MachineInstr.cpp