forked from OSchip/llvm-project
[JITLink] Add missing moves from 43acef48d3
.
This commit is contained in:
parent
ac860240ad
commit
0d11351bd7
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue