1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

Silence unused var warning in NDEBUG build

This commit is contained in:
Reid Kleckner 2020-06-29 11:39:49 -07:00
parent 486f64660b
commit c54efa8eb5

View File

@ -1457,8 +1457,8 @@ Optional<Function *> Intrinsic::remangleIntrinsicFunction(Function *F) {
auto NewDecl = Intrinsic::getDeclaration(F->getParent(), ID, ArgTys);
NewDecl->setCallingConv(F->getCallingConv());
FunctionType *FTy = F->getFunctionType();
assert(NewDecl->getFunctionType() == FTy && "Shouldn't change the signature");
assert(NewDecl->getFunctionType() == F->getFunctionType() &&
"Shouldn't change the signature");
return NewDecl;
}