projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Orc] Replace lambda with a helper method.
[oota-llvm.git]
/
include
/
llvm
/
ExecutionEngine
/
Orc
/
OrcRemoteTargetClient.h
diff --git
a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
index a69510d3ff1c596638ba04c44e6f553a85382ee9..97318bcfa0357a9311005304f81455a4953bcc04 100644
(file)
--- a/
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
+++ b/
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
@@
-730,10
+730,7
@@
private:
return EC;
if (std::error_code EC =
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();
return EC;
return std::error_code();