[ORC] Remove some unreachable code.

Fixes http://llvm.org/PR41662.

llvm-svn: 361199
This commit is contained in:
Lang Hames 2019-05-20 21:30:33 +00:00
parent 4dfa665ebf
commit 0dcf69eb82
1 changed files with 1 additions and 4 deletions

View File

@ -139,13 +139,10 @@ Error CtorDtorRunner::run() {
CtorDtor();
}
}
CtorDtorsByPriority.clear();
return Error::success();
} else
return CtorDtorMap.takeError();
CtorDtorsByPriority.clear();
return Error::success();
}
void LocalCXXRuntimeOverridesBase::runDestructors() {