Avoid printing meaningless numbers
authorChris Lattner <sabre@nondot.org>
Wed, 3 Sep 2003 20:25:27 +0000 (20:25 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 3 Sep 2003 20:25:27 +0000 (20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8342 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Reader/ConstantReader.cpp

index fb2aa3f50e75ae323e648c2068b4b94af7cc61b0..13cdc85bcd55e646932543e73d6f3bd467814f5b 100644 (file)
@@ -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()) {