mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[ORC] Fix SpeculativeJIT example code broken by r368707.
llvm-svn: 368764
This commit is contained in:
parent
d09bc24891
commit
8673c314b4
@ -95,11 +95,12 @@ private:
|
||||
exit(1);
|
||||
}
|
||||
|
||||
SpeculativeJIT(std::unique_ptr<ExecutionSession> ES, DataLayout DL,
|
||||
SpeculativeJIT(
|
||||
std::unique_ptr<ExecutionSession> ES, DataLayout DL,
|
||||
orc::JITTargetMachineBuilder JTMB,
|
||||
std::unique_ptr<LazyCallThroughManager> LCTMgr,
|
||||
IndirectStubsManagerBuilderFunction ISMBuilder,
|
||||
DynamicLibrarySearchGenerator ProcessSymbolsGenerator)
|
||||
std::unique_ptr<DynamicLibrarySearchGenerator> ProcessSymbolsGenerator)
|
||||
: ES(std::move(ES)), DL(std::move(DL)), LCTMgr(std::move(LCTMgr)),
|
||||
CompileLayer(*this->ES, ObjLayer,
|
||||
ConcurrentIRCompiler(std::move(JTMB))),
|
||||
@ -107,7 +108,7 @@ private:
|
||||
SpeculateLayer(*this->ES, CompileLayer, S, BlockFreqQuery()),
|
||||
CODLayer(*this->ES, SpeculateLayer, *this->LCTMgr,
|
||||
std::move(ISMBuilder)) {
|
||||
this->ES->getMainJITDylib().setGenerator(
|
||||
this->ES->getMainJITDylib().addGenerator(
|
||||
std::move(ProcessSymbolsGenerator));
|
||||
this->CODLayer.setImplMap(&Imps);
|
||||
this->ES->setDispatchMaterialization(
|
||||
|
Loading…
x
Reference in New Issue
Block a user