diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-03 20:25:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-03 20:25:27 +0000 |
commit | 54d85e389fcb019e4e910a986eff5b8f71aa06e6 (patch) | |
tree | 2c4b8393b86f105ed490391f5aae50533187030a /llvm/lib | |
parent | 13651f0c461e83f47fd22a50f9465235f193f290 (diff) | |
download | bcm5719-llvm-54d85e389fcb019e4e910a986eff5b8f71aa06e6.tar.gz bcm5719-llvm-54d85e389fcb019e4e910a986eff5b8f71aa06e6.zip |
Avoid printing meaningless numbers
llvm-svn: 8342
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Bytecode/Reader/ConstantReader.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp index fb2aa3f50e7..13cdc85bcd5 100644 --- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp +++ b/llvm/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()) { |