From: Chris Lattner Date: Mon, 8 Apr 2002 21:59:36 +0000 (+0000) Subject: llvm/Assembly/Writer.h is unneccesary except for extreme output X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=35e309ab01a91af7b8c5d4268741222bcffbbb21;p=oota-llvm.git llvm/Assembly/Writer.h is unneccesary except for extreme output isLabelType is obsolete git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2176 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h index 47cde2adc0e..75cba07ba8e 100644 --- a/lib/Bytecode/Reader/ReaderInternals.h +++ b/lib/Bytecode/Reader/ReaderInternals.h @@ -21,7 +21,6 @@ #define TRACE_LEVEL 0 #if TRACE_LEVEL // ByteCodeReading_TRACEer -#include "llvm/Assembly/Writer.h" #define BCR_TRACE(n, X) if (n < TRACE_LEVEL) cerr << std::string(n*2, ' ') << X #else #define BCR_TRACE(n, X) @@ -143,7 +142,7 @@ struct InstPlaceHolderHelper : public Instruction { struct BBPlaceHolderHelper : public BasicBlock { BBPlaceHolderHelper(const Type *Ty) : BasicBlock() { - assert(Ty->isLabelType()); + assert(Ty == Type::LabelTy); } };