diff options
-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 |