aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-03 20:25:27 +0000
committerChris Lattner <sabre@nondot.org>2003-09-03 20:25:27 +0000
commit6c51a36371e2b7fc476e675c9113953c8756df76 (patch)
tree3dc35e86f9198ca419a0f92a5c3641dd0717a048
parentb8565e3918d2e5d43a8e53f545a8a1c587582fd3 (diff)
downloadexternal_llvm-6c51a36371e2b7fc476e675c9113953c8756df76.zip
external_llvm-6c51a36371e2b7fc476e675c9113953c8756df76.tar.gz
external_llvm-6c51a36371e2b7fc476e675c9113953c8756df76.tar.bz2
Avoid printing meaningless numbers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8342 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Bytecode/Reader/ConstantReader.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp
index fb2aa3f..13cdc85 100644
--- a/lib/Bytecode/Reader/ConstantReader.cpp
+++ b/lib/Bytecode/Reader/ConstantReader.cpp
@@ -76,7 +76,7 @@ const Type *BytecodeParser::parseTypeConstant(const unsigned char *&Buf,
case Type::PointerTyID: {
unsigned ElTyp;
if (read_vbr(Buf, EndBuf, ElTyp)) return Val;
- BCR_TRACE(5, "Pointer Type Constant #" << (ElTyp-14) << "\n");
+ BCR_TRACE(5, "Pointer Type Constant #" << ElTyp << "\n");
const Type *ElementType = getType(ElTyp);
if (ElementType == 0) return Val;
return PointerType::get(ElementType);
@@ -99,9 +99,6 @@ const Type *BytecodeParser::parseTypeConstant(const unsigned char *&Buf,
//
void BytecodeParser::refineAbstractType(const DerivedType *OldType,
const Type *NewType) {
- if (OldType == NewType &&
- OldType->isAbstract()) return; // Type is modified, but same
-
TypeValuesListTy::iterator I = find(FunctionTypeValues.begin(),
FunctionTypeValues.end(), OldType);
if (I == FunctionTypeValues.end()) {