forked from OSchip/llvm-project
[Orc] Replace lambda with a helper method.
This is good cleanup, but I'm also hoping it'll fix some more GCC ICEs. llvm-svn: 257498
This commit is contained in:
parent
d61f3c71c3
commit
29c604134b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue