[JITLink] Add missing moves from 43acef48d3.

This commit is contained in:
Lang Hames 2022-04-15 12:57:19 -07:00
parent ac860240ad
commit 0d11351bd7
1 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ Expected<uint8_t> EHFrameEdgeFixer::readPointerEncoding(BinaryStreamReader &R,
uint8_t PointerEncoding;
if (auto Err = R.readInteger(PointerEncoding))
return Err;
return std::move(Err);
bool Supported = true;
switch (PointerEncoding & 0xf) {
@ -525,7 +525,7 @@ Expected<Symbol *> EHFrameEdgeFixer::getOrCreateEncodedPointerEdge(
dbgs() << "\n";
});
if (auto Err = skipEncodedPointer(PointerEncoding, RecordReader))
return Err;
return std::move(Err);
return EdgeI->second.Target;
}
}