Removing an "if (!this)" check from two print methods. The condition will
authorRichard Trieu <rtrieu@google.com>
Mon, 9 Jun 2014 22:53:16 +0000 (22:53 +0000)
committerRichard Trieu <rtrieu@google.com>
Mon, 9 Jun 2014 22:53:16 +0000 (22:53 +0000)
commitf31ecd39273231fccc53785f518023d70f85a02a
treec6f05f5eef00db27c074ec3b5e900c63df3e0c7c
parent8aeca44558234ae3703c565854c31d38034e56cb
Removing an "if (!this)" check from two print methods.  The condition will
never be true in a well-defined context.  The checking for null pointers
has been moved into the caller logic so it does not rely on undefined behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210497 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/CallGraphSCCPass.cpp
lib/Analysis/IVUsers.cpp
lib/Analysis/LoopPass.cpp
lib/Analysis/RegionPass.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/IR/AsmWriter.cpp
lib/IR/Core.cpp
lib/Transforms/Instrumentation/DebugIR.cpp