mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
IR: Remove isa<MDNodeFwdDecl>, NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226486 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c9a780aec5
commit
2b6db3ceeb
@ -54,10 +54,7 @@ DIBuilder::DIBuilder(Module &m, bool AllowUnresolvedNodes)
|
||||
DeclareFn(nullptr), ValueFn(nullptr),
|
||||
AllowUnresolvedNodes(AllowUnresolvedNodes) {}
|
||||
|
||||
static bool isUnresolved(MDNode *N) {
|
||||
return N &&
|
||||
(isa<MDNodeFwdDecl>(N) || !cast<UniquableMDNode>(N)->isResolved());
|
||||
}
|
||||
static bool isUnresolved(MDNode *N) { return N && !N->isResolved(); }
|
||||
|
||||
void DIBuilder::trackIfUnresolved(MDNode *N) {
|
||||
if (!AllowUnresolvedNodes) {
|
||||
|
Loading…
Reference in New Issue
Block a user