[Orc][Kaleidoscope] More diff-reduction between tutorial versions.

llvm-svn: 230658
This commit is contained in:
Lang Hames 2015-02-26 18:36:34 +00:00
parent 90ec1b175e
commit f00d772124
1 changed files with 2 additions and 2 deletions

View File

@ -1176,8 +1176,8 @@ public:
// new module. Create one that resolves symbols by looking back into the
// JIT.
auto MM = createLookasideRTDyldMM<SectionMemoryManager>(
[&](const std::string &S) {
return findSymbol(S).getAddress();
[&](const std::string &Name) {
return findSymbol(Name).getAddress();
},
[](const std::string &S) { return 0; } );