Remove dead code. Improve llvm_unreachable text. Simplify some control flow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ahmed Charles
2012-02-19 11:37:01 +00:00
parent d7ace3f8d1
commit b0934ab7d8
21 changed files with 24 additions and 138 deletions

View File

@ -165,7 +165,6 @@ static LONG CALLBACK ExceptionHandler(PEXCEPTION_POINTERS ExceptionInfo)
// Note that we don't actually get here because HandleCrash calls
// longjmp, which means the HandleCrash function never returns.
llvm_unreachable("Handled the crash, should have longjmp'ed out of here");
return EXCEPTION_CONTINUE_SEARCH;
}
// Because the Enable and Disable calls are static, it means that