mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
simplify more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
775aba2495
commit
601e768845
@ -1179,7 +1179,7 @@ void Verifier::VerifyCallSite(CallSite CS) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Verify that there's no metadata unless it's a direct call to an intrinsic.
|
// Verify that there's no metadata unless it's a direct call to an intrinsic.
|
||||||
if (!CS.getCalledFunction() || CS.getCalledFunction()->getName().size() < 5 ||
|
if (!CS.getCalledFunction() ||
|
||||||
!CS.getCalledFunction()->getName().startswith("llvm.")) {
|
!CS.getCalledFunction()->getName().startswith("llvm.")) {
|
||||||
for (FunctionType::param_iterator PI = FTy->param_begin(),
|
for (FunctionType::param_iterator PI = FTy->param_begin(),
|
||||||
PE = FTy->param_end(); PI != PE; ++PI)
|
PE = FTy->param_end(); PI != PE; ++PI)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user