OSDN Git Service

Remove redundant *_or_null checks; NFC
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 12 Jul 2018 21:56:31 +0000 (21:56 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 12 Jul 2018 21:56:31 +0000 (21:56 +0000)
commit1a14ab01567f14d6b9053a2a540b00f8c63c41c0
tree4d6c0567c9adf22f45debb840eb333a44dffaf3e
parent30251f27e54d254a2440b0d40996067b7f411e34
Remove redundant *_or_null checks; NFC

For the first one, we dereference `NewDef` right before the `if` anyway.
For the second, we shouldn't have NULL users().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336952 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemorySSAUpdater.cpp