commit | 009a7621a37a96407c63a43eec6702a4234019c7 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Thu Oct 18 00:51:38 2018 |
committer | Lang Hames <lhames@gmail.com> | Thu Oct 18 00:51:38 2018 |
tree | 88a07ad12690c949d1896cb2da7ca8d1fc51eb51 | |
parent | 56c3851517623166e74af01fc9564f6ea413ff2b [diff] |
[BuildingAJIT] Update the Ch1 KaleidoscopeJIT class to expose errors to clients. Returning the error to clients provides an opportunity to introduce readers to the Expected and Error APIs and makes the tutorial more useful as a starting point for a real JIT class, while only slightly complicating the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344720 91177308-0d34-0410-b5e6-96231b3b80d8