[llvm] 75d3b46 - Remove accidentally added debugging code from D103135

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 14 11:11:50 PDT 2021


Author: Arthur Eubanks
Date: 2021-06-14T11:11:40-07:00
New Revision: 75d3b46ad2dfa7494c9bffa277203b51ff86df38

URL: https://github.com/llvm/llvm-project/commit/75d3b46ad2dfa7494c9bffa277203b51ff86df38
DIFF: https://github.com/llvm/llvm-project/commit/75d3b46ad2dfa7494c9bffa277203b51ff86df38.diff

LOG: Remove accidentally added debugging code from D103135

Added: 
    

Modified: 
    llvm/lib/Bitcode/Reader/ValueList.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Bitcode/Reader/ValueList.cpp b/llvm/lib/Bitcode/Reader/ValueList.cpp
index 7c23944d00f12..86ed664070f6f 100644
--- a/llvm/lib/Bitcode/Reader/ValueList.cpp
+++ b/llvm/lib/Bitcode/Reader/ValueList.cpp
@@ -99,12 +99,8 @@ Constant *BitcodeReaderValueList::getConstantFwdRef(unsigned Idx, Type *Ty) {
     resize(Idx + 1);
 
   if (Value *V = ValuePtrs[Idx]) {
-    if (Ty != V->getType()) {
-      Ty->dump();
-      V->getType()->dump();
-      V->dump();
+    if (Ty != V->getType())
       report_fatal_error("Type mismatch in constant table!");
-    }
     return cast<Constant>(V);
   }
 


        


More information about the llvm-commits mailing list