Drop redundant condition

This condition was accidentally introduced in r211875.

llvm-svn: 237796
This commit is contained in:
Tobias Grosser 2015-05-20 15:04:27 +00:00
parent c3aeb85fe5
commit 9a6bef8ba4
1 changed files with 0 additions and 3 deletions

View File

@ -740,9 +740,6 @@ Region *ScopDetection::expandRegion(Region &R) {
if (!allBlocksValid(Context) || Context.Log.hasErrors())
break;
if (Context.Log.hasErrors())
break;
// Delete unnecessary regions (allocated by getExpandedRegion)
if (LastValidRegion)
delete LastValidRegion;