1
0
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:
Lang Hames 2016-01-12 18:17:23 +00:00
parent eb6cf93f57
commit 2a97df2ff4

View File

@ -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();