projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd8623a
)
[Orc] Replace lambda with a helper method.
author
Lang Hames
<lhames@gmail.com>
Tue, 12 Jan 2016 18:17:23 +0000
(18:17 +0000)
committer
Lang Hames
<lhames@gmail.com>
Tue, 12 Jan 2016 18:17:23 +0000
(18:17 +0000)
This is good cleanup, but I'm also hoping it'll fix some more GCC ICEs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257498
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
patch
|
blob
|
history
diff --git
a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
index
a69510d
..
97318bc
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 =
- expect<ReserveMemResponse>(Channel, [&](TargetAddress Addr) {
- RemoteAddr = Addr;
- return std::error_code();
- }))
+ expect<ReserveMemResponse>(Channel, readArgs(RemoteAddr)))
return EC;
return std::error_code();