[llvm] r327955 - [ORC] Don't fully qualify explicit destructor call -- it confuses some compilers.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 19 22:56:58 PDT 2018
Author: lhames
Date: Mon Mar 19 22:56:58 2018
New Revision: 327955
URL: http://llvm.org/viewvc/llvm-project?rev=327955&view=rev
Log:
[ORC] Don't fully qualify explicit destructor call -- it confuses some compilers.
This should fix the builder failure at
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/19224
Modified:
llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp
Modified: llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp?rev=327955&r1=327954&r2=327955&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/Core.cpp Mon Mar 19 22:56:58 2018
@@ -104,8 +104,7 @@ operator=(JITEvaluatedSymbol Sym) {
void VSO::SymbolTableEntry::destroy() {
if (!Flags.isMaterialized())
- MaterializationInfoItr
- .MaterializationInfoIterator::~MaterializationInfoIterator();
+ MaterializationInfoItr.~MaterializationInfoIterator();
}
JITSymbolFlags VSO::SymbolTableEntry::getFlags() const { return Flags; }
@@ -224,8 +223,7 @@ void VSO::SymbolTableEntry::finalize(VSO
// Destruct the iterator and re-define this entry using the final symbol
// value.
- MaterializationInfoItr
- .MaterializationInfoIterator::~MaterializationInfoIterator();
+ destroy();
Flags = Sym.getFlags();
Address = Sym.getAddress();
}
More information about the llvm-commits
mailing list