Debug Info Verifier: remove un-used argument in verifyDebugInfo.
authorManman Ren <manman.ren@gmail.com>
Sat, 16 Nov 2013 02:34:57 +0000 (02:34 +0000)
committerManman Ren <manman.ren@gmail.com>
Sat, 16 Nov 2013 02:34:57 +0000 (02:34 +0000)
No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194917 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/Verifier.cpp

index 27bc13b95ae8c1ccac6b3d67097787d0dd7cc9ee..8ce48bed28f6b22ebcfe6e91aa94baece11af3d5 100644 (file)
@@ -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(),