[llvm] r257498 - [Orc] Replace lambda with a helper method.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 12 10:17:24 PST 2016
Author: lhames
Date: Tue Jan 12 12:17:23 2016
New Revision: 257498
URL: http://llvm.org/viewvc/llvm-project?rev=257498&view=rev
Log:
[Orc] Replace lambda with a helper method.
This is good cleanup, but I'm also hoping it'll fix some more GCC ICEs.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h?rev=257498&r1=257497&r2=257498&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h Tue Jan 12 12:17:23 2016
@@ -730,10 +730,7 @@ private:
return EC;
if (std::error_code EC =
- expect<ReserveMemResponse>(Channel, [&](TargetAddress Addr) {
- RemoteAddr = Addr;
- return std::error_code();
- }))
+ expect<ReserveMemResponse>(Channel, readArgs(RemoteAddr)))
return EC;
return std::error_code();
More information about the llvm-commits
mailing list