[ORC] More cleanup, partially aimed at working around GCC ICE.

llvm-svn: 257501
This commit is contained in:
Lang Hames 2016-01-12 19:01:49 +00:00
parent 046c1d6355
commit 963a6342d4
1 changed files with 2 additions and 6 deletions

View File

@ -726,14 +726,10 @@ private:
if (ExistingError)
return ExistingError;
if (auto EC = call<ReserveMem>(Channel, Id, Size, Align))
if (std::error_code EC = call<ReserveMem>(Channel, Id, Size, Align))
return EC;
if (std::error_code EC =
expect<ReserveMemResponse>(Channel, readArgs(RemoteAddr)))
return EC;
return std::error_code();
return expect<ReserveMemResponse>(Channel, readArgs(RemoteAddr));
}
std::error_code setProtections(ResourceIdMgr::ResourceId Id,