projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b3436
)
[ORC] More cleanup, partially aimed at working around GCC ICE.
author
Lang Hames
<lhames@gmail.com>
Tue, 12 Jan 2016 19:01:49 +0000
(19:01 +0000)
committer
Lang Hames
<lhames@gmail.com>
Tue, 12 Jan 2016 19:01:49 +0000
(19:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257501
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
patch
|
blob
|
history
diff --git
a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
index 97318bcfa0357a9311005304f81455a4953bcc04..d23b600aa51fcd81f7a7272a1886af362f35fca0 100644
(file)
--- a/
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
+++ b/
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
@@
-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,