[ORC] Whitespace.

llvm-svn: 266712
This commit is contained in:
Lang Hames 2016-04-19 04:44:21 +00:00
parent 679c436c95
commit 51a9bd2e11
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ public:
DirectBufferWriter() = default;
DirectBufferWriter(const char *Src, TargetAddress Dst, uint64_t Size)
: Src(Src), Dst(Dst), Size(Size) {}
const char *getSrc() const { return Src; }
TargetAddress getDst() const { return Dst; }
uint64_t getSize() const { return Size; }
@ -47,7 +47,7 @@ inline std::error_code serialize(RPCChannel &C,
return EC;
return C.appendBytes(DBW.getSrc(), DBW.getSize());
}
inline std::error_code deserialize(RPCChannel &C,
DirectBufferWriter &DBW) {
TargetAddress Dst;
@ -57,9 +57,9 @@ inline std::error_code deserialize(RPCChannel &C,
if (auto EC = deserialize(C, Size))
return EC;
char *Addr = reinterpret_cast<char*>(static_cast<uintptr_t>(Dst));
DBW = DirectBufferWriter(0, Dst, Size);
return C.readBytes(Addr, Size);
}