summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h')
-rw-r--r--llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h
index e7630e275b9..2f492b0e17f 100644
--- a/llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h
+++ b/llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h
@@ -60,7 +60,7 @@ public:
auto Resolver = createLambdaResolver(
[&](const std::string &Name) {
if (auto Sym = findMangledSymbol(Name))
- return RuntimeDyld::SymbolInfo(Sym.getAddress(), Sym.getFlags());
+ return Sym.toRuntimeDyldSymbol();
return RuntimeDyld::SymbolInfo(nullptr);
},
[](const std::string &S) { return nullptr; });
OpenPOWER on IntegriCloud