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;
|
return EC;
|
||||||
|
|
||||||
if (std::error_code EC =
|
if (std::error_code EC =
|
||||||
expect<ReserveMemResponse>(Channel, [&](TargetAddress Addr) {
|
expect<ReserveMemResponse>(Channel, readArgs(RemoteAddr)))
|
||||||
RemoteAddr = Addr;
|
|
||||||
return std::error_code();
|
|
||||||
}))
|
|
||||||
return EC;
|
return EC;
|
||||||
|
|
||||||
return std::error_code();
|
return std::error_code();
|
||||||
|
|
Loading…
Reference in New Issue