From 75d3b46ad2dfa7494c9bffa277203b51ff86df38 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Mon, 14 Jun 2021 11:09:41 -0700 Subject: [PATCH] Remove accidentally added debugging code from D103135 --- llvm/lib/Bitcode/Reader/ValueList.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/llvm/lib/Bitcode/Reader/ValueList.cpp b/llvm/lib/Bitcode/Reader/ValueList.cpp index 7c23944..86ed664 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(V); } -- 2.7.4