commit | c49984db99e4981ec325fc49d34e14478c8f65dd | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Apr 23 03:55:14 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Apr 23 03:55:14 2016 +0000 |
tree | daf7eca782c262f71cb2d772f5ce6fdfbb913344 | |
parent | 85f08cc0b8bb7b717e9ab212c8296db21ff95050 [diff] |
BitcodeReader: Use getMD/getMDOrNull helpers consistently, almost NFC The only functionality change was removing an error check from the BitcodeReader (and an assertion from DILocation::getImpl) that is already caught by Verifier::visitDILocation. The Verifier is a better place for this anyway, and being inconsistent with other subclasses of MDNode isn't serving anyone. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267267 91177308-0d34-0410-b5e6-96231b3b80d8