Remove spurrious string generation.

This commit is contained in:
Axel Naumann 2022-11-23 14:41:45 +01:00 committed by jenkins
parent 1f237a50ee
commit 0950faa211

View File

@ -20,8 +20,6 @@
#include <llvm/IR/LLVMContext.h>
#include <llvm/Support/raw_ostream.h>
#include <sstream>
using namespace llvm;
using namespace llvm::orc;
@ -298,9 +296,6 @@ void IncrementalJIT::addModule(Transaction& T) {
ResourceTrackerSP RT = Jit->getMainJITDylib().createResourceTracker();
m_ResourceTrackers[&T] = RT;
std::ostringstream sstr;
sstr << T.getModule()->getModuleIdentifier() << '-' << std::hex
<< std::showbase << (size_t)&T;
ThreadSafeModule TSM(T.takeModule(), SingleThreadedContext);
const Module *Unsafe = TSM.getModuleUnlocked();