Fix up a couple of review comments:
authorEric Christopher <echristo@gmail.com>
Thu, 2 Jan 2014 21:03:28 +0000 (21:03 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 2 Jan 2014 21:03:28 +0000 (21:03 +0000)
commite151788aae061cc4ec3a7bb76a7cb5b72edc046e
tree0d79ba312c036a9c4c55992445a98e833d74a535
parent932aa0d9f6a389a3fb8e2c6409f4a9aac37b4714
Fix up a couple of review comments:

Use an if statement instead of a pair of ternary operators checking
the same condition.
Use a cheap method call rather than returning the local symbol.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198351 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.h