mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[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
eb6cf93f57
commit
2a97df2ff4
@ -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
Block a user