projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Revert "[Orc] Directly emit machine code for the x86 resolver block and tramp...
[oota-llvm.git]
/
include
/
llvm
/
ExecutionEngine
/
Orc
/
CompileOnDemandLayer.h
diff --git
a/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
b/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
index 9c37aa016817256f60c36ebbcfd3282f8c0c051e..8f4e844032c0d941bb45f9c059a36ed413ebbe11 100644
(file)
--- a/
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
+++ b/
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
@@
-242,7
+242,7
@@
private:
// Create a callback, associate it with the stub for the function,
// and set the compile action to compile the partition containing the
// function.
// Create a callback, associate it with the stub for the function,
// and set the compile action to compile the partition containing the
// function.
- auto CCInfo = CompileCallbackMgr.getCompileCallback(
SrcM.getContext()
);
+ auto CCInfo = CompileCallbackMgr.getCompileCallback();
StubInits[mangle(F.getName(), DL)] =
std::make_pair(CCInfo.getAddress(),
JITSymbolBase::flagsFromGlobalValue(F));
StubInits[mangle(F.getName(), DL)] =
std::make_pair(CCInfo.getAddress(),
JITSymbolBase::flagsFromGlobalValue(F));