summaryrefslogtreecommitdiff
path: root/lib/IR
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
commit3d429d80e4c062d0371fb105a87cc5260652c9b2 (patch)
tree3373a65193ef19e5e66ed51bb098744f99738241 /lib/IR
parent35de9946d5fc01d2fed970bdcc7966bad92bdbc4 (diff)
downloadllvm-3d429d80e4c062d0371fb105a87cc5260652c9b2.tar.gz
llvm-3d429d80e4c062d0371fb105a87cc5260652c9b2.tar.bz2
llvm-3d429d80e4c062d0371fb105a87cc5260652c9b2.tar.xz
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
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/Verifier.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/IR/Verifier.cpp b/lib/IR/Verifier.cpp
index 27bc13b95a..8ce48bed28 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(),