diff options
author | Lang Hames <lhames@gmail.com> | 2019-12-15 15:35:49 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2019-12-15 15:37:18 -0800 |
commit | 064e7d1df17dcd7f82215c258e2793aa1f8ed760 (patch) | |
tree | 8a3a80151a1eb28e77a4261887c4692e752ddccf /llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2 | |
parent | 8280896bd1b055a192d9e7d482b0ffa14ee88e3a (diff) | |
download | bcm5719-llvm-064e7d1df17dcd7f82215c258e2793aa1f8ed760.tar.gz bcm5719-llvm-064e7d1df17dcd7f82215c258e2793aa1f8ed760.zip |
[Kaleidoscope][BuildingAJIT] Add a missing std::move.
This should fix the build failure described in
https://github.com/llvm/llvm-project/issues/63.
Diffstat (limited to 'llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2')
-rw-r--r-- | llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h index 8037e58ae4f..c8f01c04cf5 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h @@ -105,7 +105,7 @@ private: FPM->run(F); }); - return TSM; + return std::move(TSM); } }; |