diff options
author | Manman Ren <mren@apple.com> | 2013-03-13 18:33:41 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-03-13 18:33:41 +0000 |
commit | b1e052aa1b9e52d12831f86a1ee0fcf0c4030f1b (patch) | |
tree | 5502a32ccceba684797c59f49448712fcdb66caf | |
parent | e8a3cc68782cc5d43d7b8e24c4afa94448905349 (diff) |
No functionality change. Use unreachable in getCompileUnit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176962 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.cpp b/lib/CodeGen/AsmPrinter/DIE.cpp index 68d6b6aef7..bbb0432581 100644 --- a/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/lib/CodeGen/AsmPrinter/DIE.cpp @@ -120,7 +120,7 @@ DIE *DIE::getCompileUnit() const{ return p; p = p->getParent(); } - return NULL; + llvm_unreachable("We should not have orphaned DIEs."); } #ifndef NDEBUG |