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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Lang Hames 2016-01-12 19:01:49 +00:00
parent 70b3436457
commit 05e78944a1

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,