mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Minor cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0603079719
commit
c2616625a3
@ -660,7 +660,7 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
|
|||||||
"Illegal # arguments for intrinsic function!", IF);
|
"Illegal # arguments for intrinsic function!", IF);
|
||||||
Assert1(FT->getParamType(0)->isFirstClassType(),
|
Assert1(FT->getParamType(0)->isFirstClassType(),
|
||||||
"First argument not a first class type!", IF);
|
"First argument not a first class type!", IF);
|
||||||
Assert1(FT->getParamType(1)->getPrimitiveID() == Type::PointerTyID,
|
Assert1(isa<PointerType>(FT->getParamType(1)),
|
||||||
"Second argument not a pointer!", IF);
|
"Second argument not a pointer!", IF);
|
||||||
NumArgs = 2;
|
NumArgs = 2;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user