diff options
Diffstat (limited to 'examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp')
-rw-r--r-- | examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp b/examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp index 7bbc06a0958..10b60bd12d1 100644 --- a/examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp +++ b/examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp @@ -1277,7 +1277,7 @@ int main(int argc, char *argv[]) { BinopPrecedence['*'] = 40; // highest. auto TCPChannel = connect(); - auto Remote = ExitOnErr(MyRemote::Create(*TCPChannel)); + auto Remote = ExitOnErr(MyRemote::Create(*TCPChannel, ExitOnErr)); TheJIT = llvm::make_unique<KaleidoscopeJIT>(*Remote); // Automatically inject a definition for 'printExprResult'. |