forked from OSchip/llvm-project
[NFC] [HWASan] remove unnecessary cast
This commit is contained in:
parent
7b1bdfbeb0
commit
e06c9b63bc
|
@ -1483,7 +1483,7 @@ bool HWAddressSanitizer::sanitizeFunction(Function &F,
|
|||
|
||||
if (ClInstrumentMemIntrinsics && !IntrinToInstrument.empty()) {
|
||||
for (auto *Inst : IntrinToInstrument)
|
||||
instrumentMemIntrinsic(cast<MemIntrinsic>(Inst));
|
||||
instrumentMemIntrinsic(Inst);
|
||||
}
|
||||
|
||||
ShadowBase = nullptr;
|
||||
|
|
Loading…
Reference in New Issue