[llvm] 441f691 - [ORC] Remove usused Error variable.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 19:33:26 PDT 2022


Author: Lang Hames
Date: 2022-05-20T19:33:07-07:00
New Revision: 441f691b37486730a18068c139f34a50cba666bd

URL: https://github.com/llvm/llvm-project/commit/441f691b37486730a18068c139f34a50cba666bd
DIFF: https://github.com/llvm/llvm-project/commit/441f691b37486730a18068c139f34a50cba666bd.diff

LOG: [ORC] Remove usused Error variable.

This was left in by accident, and caused unchecked-error assertions
during program termination in BuildingAJIT-Ch4.

Added: 
    

Modified: 
    llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp b/llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp
index eb555b4ddb8b6..48aaab96e71ff 100644
--- a/llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp
@@ -88,7 +88,6 @@ EPCTrampolinePool::EPCTrampolinePool(EPCIndirectionUtils &EPCIU)
 }
 
 Error EPCTrampolinePool::deallocatePool() {
-  Error Err = Error::success();
   std::promise<MSVCPError> DeallocResultP;
   auto DeallocResultF = DeallocResultP.get_future();
 


        


More information about the llvm-commits mailing list