From: Manman Ren Date: Sat, 16 Nov 2013 02:34:57 +0000 (+0000) Subject: Debug Info Verifier: remove un-used argument in verifyDebugInfo. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3d429d80e4c062d0371fb105a87cc5260652c9b2;p=oota-llvm.git Debug Info Verifier: remove un-used argument in verifyDebugInfo. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194917 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/Verifier.cpp b/lib/IR/Verifier.cpp index 27bc13b95ae..8ce48bed28f 100644 --- a/lib/IR/Verifier.cpp +++ b/lib/IR/Verifier.cpp @@ -219,7 +219,7 @@ namespace { visitModuleIdents(M); // Verify Debug Info. - verifyDebugInfo(M); + verifyDebugInfo(); // If the module is broken, abort at this time. return abortIfBroken(); @@ -335,7 +335,7 @@ namespace { void VerifyBitcastType(const Value *V, Type *DestTy, Type *SrcTy); void VerifyConstantExprBitcastType(const ConstantExpr *CE); - void verifyDebugInfo(Module &M); + void verifyDebugInfo(); void WriteValue(const Value *V) { if (!V) return; @@ -2374,7 +2374,7 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { } } -void Verifier::verifyDebugInfo(Module &M) { +void Verifier::verifyDebugInfo() { // Verify Debug Info. if (!DisableDebugInfoVerifier) { for (DebugInfoFinder::iterator I = Finder.compile_unit_begin(),