commit | 2b7fe3c50b242dd6ddc98b561a07bdbd54880cb0 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sun Apr 17 05:41:09 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sun Apr 17 05:41:09 2016 +0000 |
tree | 9b81505da050bdd0eef81f4af901a9f951af7661 | |
parent | 0fd5dc09908a6e09267bda4b9ee56250e77d5e79 [diff] |
IR: Use getRawScope() when verifying Fix a couple of places in the Verifier that call `getScope()` instead of `getRawScope()`. Both DIDerivedType::getScope and DICompositeType::getScope return a DITypeRef right now (which wraps a Metadata*) so I don't think there's currently an observable bug. I found this because a future commit that will change them to cast to DIScope*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266552 91177308-0d34-0410-b5e6-96231b3b80d8