Debug Info: clean up usage of Verify.
authorManman Ren <mren@apple.com>
Sat, 29 Jun 2013 05:01:19 +0000 (05:01 +0000)
committerManman Ren <mren@apple.com>
Sat, 29 Jun 2013 05:01:19 +0000 (05:01 +0000)
commitda91817d40dad85a15e0f2a7e11d4d302949586b
treebb232859e02a59b491005bc1143d0b98779cca6c
parentd1fe8d5212fbcb12dd592239f76f95ff2db7870d
Debug Info: clean up usage of Verify.

No functionality change.
It should suffice to check the type of a debug info metadata, instead of
calling Verify. For cases where we know the type of a DI metadata, use
assert.

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