[Kaleidoscope] Fix symbol resolver to search in reverse order.
authorLang Hames <lhames@gmail.com>
Thu, 21 Feb 2019 16:53:04 +0000 (16:53 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 21 Feb 2019 16:53:04 +0000 (16:53 +0000)
commitddf91af5a67bef9ca7a6f14277420e8d2dc0c66e
treef32ecf201b7116993438cee78b1ec375c53f3f8b
parent52d5781c8711c334c48f48ffdd1211331ce3a573
[Kaleidoscope] Fix symbol resolver to search in reverse order.

This should allow more recent definitions of functions in the Kaleidoscope REPL
to override old ones, as the tutorial text promises.

llvm-svn: 354598
llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h