summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-11-16 02:34:57 +0000
committerManman Ren <manman.ren@gmail.com>2013-11-16 02:34:57 +0000
commit23662907fc53429e04bd95b89b33aced0ac25143 (patch)
treecb9687be7e3062d9c612bd8a104fdd277d339ef5 /llvm/lib
parentfa27bc4c7b8f0d8a7f30818344af69d354177743 (diff)
downloadbcm5719-llvm-23662907fc53429e04bd95b89b33aced0ac25143.tar.gz
bcm5719-llvm-23662907fc53429e04bd95b89b33aced0ac25143.zip
Debug Info Verifier: remove un-used argument in verifyDebugInfo.
No functionality change. llvm-svn: 194917
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/Verifier.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index 27bc13b95ae..8ce48bed28f 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/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(),
OpenPOWER on IntegriCloud