commit | 0dcf69eb82871bbf65505c841dba1441c70f4e0b | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Mon May 20 21:30:33 2019 +0000 |
committer | Lang Hames <lhames@gmail.com> | Mon May 20 21:30:33 2019 +0000 |
tree | f07e5c616ec211f3a6fb8300c77b9ac1d598cb71 | |
parent | 4dfa665ebf1075965cdaf80c129637f95fa11440 [diff] [blame] |
[ORC] Remove some unreachable code. Fixes http://llvm.org/PR41662. llvm-svn: 361199
diff --git a/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp b/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp index deabb04..7151881 100644 --- a/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp +++ b/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
@@ -139,13 +139,10 @@ CtorDtor(); } } + CtorDtorsByPriority.clear(); return Error::success(); } else return CtorDtorMap.takeError(); - - CtorDtorsByPriority.clear(); - - return Error::success(); } void LocalCXXRuntimeOverridesBase::runDestructors() {