Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 69d2539

Browse files
committed
[Orc][Kaleidoscope] More diff-reduction between tutorial versions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230658 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e53d9df commit 69d2539

File tree

1 file changed

+2
-2
lines changed
  • examples/Kaleidoscope/Orc/initial

1 file changed

+2
-2
lines changed

examples/Kaleidoscope/Orc/initial/toy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,8 +1176,8 @@ class KaleidoscopeJIT {
11761176
// new module. Create one that resolves symbols by looking back into the
11771177
// JIT.
11781178
auto MM = createLookasideRTDyldMM<SectionMemoryManager>(
1179-
[&](const std::string &S) {
1180-
return findSymbol(S).getAddress();
1179+
[&](const std::string &Name) {
1180+
return findSymbol(Name).getAddress();
11811181
},
11821182
[](const std::string &S) { return 0; } );
11831183

0 commit comments

Comments
 (0)