[Orc][Kaleidoscope] More diff-reduction between tutorial versions.
[oota-llvm.git] / examples / Kaleidoscope / Orc / initial / toy.cpp
index 3bf2fb6dd9cc65df0d08c9468873d67f014207f5..1b65e8c2a053093211612c5602eca6f10a0fb76c 100644 (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; } );