Remove spurrious string generation.
This commit is contained in:
parent
1f237a50ee
commit
0950faa211
@ -20,8 +20,6 @@
|
|||||||
#include <llvm/IR/LLVMContext.h>
|
#include <llvm/IR/LLVMContext.h>
|
||||||
#include <llvm/Support/raw_ostream.h>
|
#include <llvm/Support/raw_ostream.h>
|
||||||
|
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
using namespace llvm::orc;
|
using namespace llvm::orc;
|
||||||
|
|
||||||
@ -298,9 +296,6 @@ void IncrementalJIT::addModule(Transaction& T) {
|
|||||||
ResourceTrackerSP RT = Jit->getMainJITDylib().createResourceTracker();
|
ResourceTrackerSP RT = Jit->getMainJITDylib().createResourceTracker();
|
||||||
m_ResourceTrackers[&T] = RT;
|
m_ResourceTrackers[&T] = RT;
|
||||||
|
|
||||||
std::ostringstream sstr;
|
|
||||||
sstr << T.getModule()->getModuleIdentifier() << '-' << std::hex
|
|
||||||
<< std::showbase << (size_t)&T;
|
|
||||||
ThreadSafeModule TSM(T.takeModule(), SingleThreadedContext);
|
ThreadSafeModule TSM(T.takeModule(), SingleThreadedContext);
|
||||||
|
|
||||||
const Module *Unsafe = TSM.getModuleUnlocked();
|
const Module *Unsafe = TSM.getModuleUnlocked();
|
||||||
|
Loading…
Reference in New Issue
Block a user