From c2616625a3f36c87e8ee8b3b559267456907922c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 17 Jun 2004 17:56:54 +0000 Subject: [PATCH] Minor cleanup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14199 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Verifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 40387d30153..51c933be93a 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -660,7 +660,7 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { "Illegal # arguments for intrinsic function!", IF); Assert1(FT->getParamType(0)->isFirstClassType(), "First argument not a first class type!", IF); - Assert1(FT->getParamType(1)->getPrimitiveID() == Type::PointerTyID, + Assert1(isa(FT->getParamType(1)), "Second argument not a pointer!", IF); NumArgs = 2; break;