mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
No functionality change. Use unreachable in getCompileUnit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8a3cc6878
commit
b1e052aa1b
@ -120,7 +120,7 @@ DIE *DIE::getCompileUnit() const{
|
|||||||
return p;
|
return p;
|
||||||
p = p->getParent();
|
p = p->getParent();
|
||||||
}
|
}
|
||||||
return NULL;
|
llvm_unreachable("We should not have orphaned DIEs.");
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user