OSDN Git Service

Remove a redundant null-check in DIExpression::prepend, NFC
authorVedant Kumar <vsk@apple.com>
Fri, 6 Jul 2018 21:06:20 +0000 (21:06 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 6 Jul 2018 21:06:20 +0000 (21:06 +0000)
commit21926ea0e19eaf48fc90d79a779859f1be4f830d
tree27115ddb1849567719eccd4029f481c4a7147d5f
parentc779b36d254d32d46f9fab6ec1ef16c5c58620ec
Remove a redundant null-check in DIExpression::prepend, NFC

Code outside of an `if (Expr)` block dereferenced `Expr`, so the null
check was redundant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336465 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfoMetadata.cpp