diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-06-14 11:09:41 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-06-14 11:11:40 -0700 |
commit | 75d3b46ad2dfa7494c9bffa277203b51ff86df38 (patch) | |
tree | ae9459894207d98480b0b790911b0d4773d8a6bb /llvm/lib/Bitcode | |
parent | 8c8dbc10825cf099607af3da58b839e10c68320f (diff) | |
download | llvm-75d3b46ad2dfa7494c9bffa277203b51ff86df38.zip llvm-75d3b46ad2dfa7494c9bffa277203b51ff86df38.tar.gz llvm-75d3b46ad2dfa7494c9bffa277203b51ff86df38.tar.bz2 |
Remove accidentally added debugging code from D103135
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r-- | llvm/lib/Bitcode/Reader/ValueList.cpp | 6 |
1 files changed, 1 insertions, 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<Constant>(V); } |