[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 d61f3c71c3
commit 29c604134b
1 changed files with 1 additions and 4 deletions

View File

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