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:
parent
486f64660b
commit
c54efa8eb5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user